import { RouterRequestConfig } from './router';
type PollConfig = {
    autoStart?: boolean;
    keepAlive?: boolean;
};
type Poll = {
    start: () => void;
    stop: () => void;
};
export declare function usePoll(interval: number, config?: RouterRequestConfig & PollConfig): Poll;
export {};
