import { Ref } from 'vue'; interface UsePollingOptions { interval: number; cleanupTimeout?: number; executeImmediately?: boolean; } interface UsePollingReturn { isPolling: Ref; startPolling: (pollFn: () => Promise) => void; stopPolling: () => void; } /** * Generic polling composable that can poll any async function * * By default, polling waits for the first interval before executing. * Set executeImmediately: true to execute immediately when startPolling is called, * then continue at the specified interval. * * @param options - Configuration with required interval, optional cleanup timeout, and execution behavior * @returns Object with polling state and control methods */ export declare function usePolling(options: UsePollingOptions): UsePollingReturn; export {};