/** * @module Functions/ExecutionManagement * @author Alan Rodas Bonjour */ import { AnyFunction } from '../../Types/AnyFunction'; /** * Returns a debounced function that delays execution until wait milliseconds have * passed since its last invocation. * * @remarks * Debouncing postpones the execution until after a period of inactivity. * It's ideal for tasks that don't need to execute repeatedly in quick succession, * such as API calls based on user input. * * @privateRemarks * Note that this cannot be converted to an arrow function, because the context * of `this` is important during the call. Arrow functions significantly change the * way the context is managed. * * @param func - The function to debounce. * @param wait - The number of milliseconds to wait before calling the function. * @param options - Additional options for the function. * * @returns A debounced function. */ export declare function debounce(func: F, wait?: number, options?: { immediate: boolean; }): DebouncedFunction; //# sourceMappingURL=debounce.d.ts.map