import type { IdleCallbackHandle } from './types';
/**
 * Schedules a callback to run during browser idle time.
 * Uses requestIdleCallback when available, falls back to setTimeout for Safari.
 */
export declare const scheduleIdleWork: (callback: () => void, options?: {
    timeout?: number;
}) => IdleCallbackHandle;
/** Cancels a previously scheduled idle callback. */
export declare const cancelIdleWork: (handle: IdleCallbackHandle) => void;
//# sourceMappingURL=idle-callback.d.ts.map