interface PollingOptions {
    interval?: number;
    inactivityThreshold?: number;
    pauseInBackground?: boolean;
}
export declare function usePolling(fn: () => Promise<any> | void, options?: PollingOptions): {
    isPolling: import('vue').Ref<boolean, boolean>;
    pausePolling: () => void;
    resumePolling: () => void;
    startPolling: () => void;
    stopPolling: () => void;
};
export {};
//# sourceMappingURL=usePolling.d.ts.map