/** * Executes a function with throttling. Creates and caches the throttled version * of the function based on the key and delay. * * @param key - Unique identifier for the throttled function * @param delay - Throttle delay in ms * @param fn - Function to throttle */ export declare function throttle any>(key: string, delay: number, fn: T, edge?: 'leading' | 'trailing' | 'both'): (...args: Parameters) => ReturnType;