export declare const promiseWithResolvers: () => { promise: Promise; resolve: (value: T) => void; reject: (reason?: any) => void; };