declare function debounce(func: (...args: any[]) => any, wait: number, options?: {
leading?: boolean;
trailing?: boolean;
maxWait?: number;
}): {
(this: any, ...args: any[]): any;
cancel: () => void;
flush: () => any;
pending: () => boolean;
};
export default debounce;