export declare const withPendingTask: (work: () => Promise) => Promise;