export type RafScheduler = (() => void) & { cancel: () => void; }; /** * Create a one-per-frame requestAnimationFrame scheduler for a callback. * Re-entrant safe: multiple calls within a frame coalesce to one execution. */ export declare const createRafScheduler: (callback: () => void) => RafScheduler;