/** * A function to debounce the execution of a function until the next microtask. */ export declare function onTick void>(fn: T): T; /** * A function to debounce the execution of a function until the next setTimeout. */ export declare function onTimeout void>(fn: T, delay?: number): T; /** * A function to debounce the execution of a function until the next animation frame. */ export declare function onAnimationFrame void>(fn: T): T;