import type { RefreshFunction } from '@splunk/dashboard-types'; export declare const MAX_TIMEOUT_SECONDS: number; /** * Control DataSource refresh behaviour */ export default class RefreshScheduler { refreshFunc: RefreshFunction; refreshType: string; interval: number; stopped: boolean; timeout: ReturnType | null; constructor({ refreshFunc, refreshInterval, refreshType, }: { refreshFunc: RefreshFunction; refreshInterval: number; refreshType?: string; }); scheduleNextRefresh: () => void; stop: () => void; start: () => void; } //# sourceMappingURL=RefreshScheduler.d.ts.map