interface Options { leading?: boolean; trailing?: boolean; } export declare function throttle any>(func: T, wait: number, options?: Options): (...args: Parameters) => ReturnType | null; export {};