export declare function waitFor(promise: () => Promise, predicate?: (value: T) => boolean, interval?: number): Promise;