interface UseGridDataSourcePollingOptions { /** * The polling interval in milliseconds. The polling is off when it is `0` or less. */ revalidateMs: number; /** * The polling is off when it is `false`. */ isActive: boolean; /** * Runs when `` shows the grid again, if the polling started before. * @returns {boolean} `true` to resume the polling. * @default () => true */ shouldResume?: () => boolean; } /** * Calls a revalidation callback at the `revalidateMs` interval. * The polling pauses while `` hides the grid and stops after the grid unmounts. */ export declare const useGridDataSourcePolling: ({ revalidateMs, isActive, shouldResume }: UseGridDataSourcePollingOptions) => { startPolling: (callback: () => void) => void; stopPolling: () => void; }; export {};