/** * Debounce utility for interactive search */ /** * Debounced function with cancel capability */ export interface DebouncedFunction void> { (...args: Parameters): void; cancel: () => void; } /** * Create a debounced version of a function * * The debounced function will only execute after the specified delay * has passed without any new calls. Each call resets the delay timer. * * @param fn - Function to debounce * @param delayMs - Delay in milliseconds * @returns Debounced function with cancel method */ export declare function debounce void>(fn: T, delayMs: number): DebouncedFunction; //# sourceMappingURL=debounce.d.ts.map