type UsePollingProps = { action: () => any; interval: number; }; export declare const usePolling: ({ action, interval }: UsePollingProps) => { isPolling: boolean; startPolling: () => void; stopPolling: () => void; }; export {};