/** * Poll a particular function until a specified interval/timeout. */ export declare class PollUtil { /** * Method used for polling. * @param fn Function that needs to be polled. * @param timeout Time after which the polling will stop. * @param interval Time difference between calls while polling. */ static poll: (fn: any, timeout: number, interval: number) => Promise; }