type PollerOptions = { delayMs: number; }; type PollFunction = () => Output | null | Promise; export declare class Poller { private opts; constructor(opts: PollerOptions); run(fn: PollFunction): Promise; } export {};