/** * Calls given predicate initially and then every given periodicIntervalCheck * until the predicate returns truthy value which will be resolved in Promise returned by this function * @param predicate Function periodically checking and waiting for certain state * @param periodicIntervalCheck * @param timeout Optionally pass in a timeout in ms after which we should give up any remaining hope for success of this mission */ export declare function checkPeriodically(predicate: () => T | null | undefined, periodicIntervalCheck: number, timeout?: number): Promise;