export interface UmbDebouncedFunction) => any> { (...args: Parameters): void; cancel(): void; } /** * Creates a debounced version of the provided function that delays execution * until after the specified wait time has elapsed since the last invocation. * @param {T} fn - The function to debounce * @param {number} ms - Delay in milliseconds (default: 0) * @returns {UmbDebouncedFunction} A debounced function with a cancel method */ export declare function debounce) => any>(fn: T, ms?: number): UmbDebouncedFunction;