export interface PromiseWithResolvers<T> {
    promise: Promise<T>;
    resolve: (value: T | PromiseLike<T>) => void;
    reject: (reason: any) => void;
}
export declare function createDeferred<T>(): PromiseWithResolvers<T>;
