/** * Throttled function with leading, trailing, and cancellation support. * * @template T - Function type to throttle * @param func - Target function * @param wait - Throttle interval in ms (default: 300) * @param options - { leading?: boolean, trailing?: boolean } * @returns Throttled function with cancel() and flush() methods. */ export declare const throttleAdvanced: void>(func: T, wait?: number, { leading, trailing }?: ThrottleAdvancedOptions) => { (...args: Parameters): void; cancel(): void; flush(): void; pending(): boolean; } & { cancel: () => void; flush: () => void; pending: () => boolean; }; declare interface ThrottleAdvancedOptions { leading?: boolean; trailing?: boolean; } export { }