export declare const withResolvers: () => { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; }; export declare const withResolversAndWaitForReturn: () => { getPromiseToImmediatelyReturn: () => Promise; reject: (reason: unknown) => void; resolve: (value: T | PromiseLike) => void; };