/**
 * 说明
 */
type PollerTask = (poller: Poller) => void | Promise<void>;
interface PollerOptions {
    delay: number;
}
declare class Poller {
    private count;
    private task;
    private options;
    private currentCount;
    get isRunning(): boolean;
    constructor(task: PollerTask, options?: Partial<PollerOptions>);
    private run;
    stop(): this;
    start(forceUpdate?: boolean): this;
}

export { Poller, type PollerOptions, type PollerTask };
