/** * Wraps a callback so repeated invocations within `delayMs` collapse * to the latest args, firing exactly once `delayMs` after the final * call. When `delayMs` is `0` / `undefined`, the callback runs * synchronously with no timer involved — consumers opt in via a * single prop. * * Uses refs so the returned invoker has stable identity for the * component's lifetime while still reaching the freshest callback * and delay values on every invocation. */ export declare function useDebouncedCallback(fn: (...args: A) => void, delayMs: number | undefined): (...args: A) => void; //# sourceMappingURL=useDebouncedCallback.d.ts.map