/** * Factory for creating debounced and throttled callbacks */ import type { AnyCallable, DelayedCallbackConfig, DelayedFunction } from './types.js'; /** * Create a delayed callback (debounced or throttled) * * @internal This is an internal factory function. Use useDebounceCallback or useThrottleCallback instead. * * @template T - The type of the callback function * @param callback - The callback to delay * @param config - Delay configuration (mode, delay, leading, trailing, maxWait) * @returns Enhanced callback with cancel, flush, and isPending methods */ declare function useDelayedCallbackFactory(callback: T, config: DelayedCallbackConfig): DelayedFunction; export declare const createDelayedCallback: typeof useDelayedCallbackFactory; export {}; //# sourceMappingURL=createDelayedCallback.d.ts.map