type UpdateFunction = (prevState: T) => T; type BatchedUpdate = T | UpdateFunction; type BatchedUpdatesOptions = { delay?: number; maxBatchSize?: number; }; /** * Hook for batching multiple state updates to reduce re-renders * Uses requestAnimationFrame for optimal performance */ export declare const useBatchedUpdates: (initialState: T, options?: BatchedUpdatesOptions) => [T, (update: BatchedUpdate) => void, () => void]; export {};