/** * @param func handler taking at most single parameter (event). */ export declare const withBatchedUpdates: void) | (() => void)>(func: Parameters["length"] extends 0 | 1 ? TFunction : never) => TFunction; /** * barches React state updates and throttles the calls to a single call per * animation frame */ export declare const withBatchedUpdatesThrottled: void) | (() => void)>(func: Parameters["length"] extends 0 | 1 ? TFunction : never) => { (...args: Parameters): void; flush(): void; cancel(): void; }; export declare const isRenderThrottlingEnabled: () => boolean;