export declare function ensure(check: () => boolean, timeout?: number, maxTries?: number): Promise;