declare module 'lodash-es/noop.js' { const noop: () => void; export default noop; } declare module 'lodash-es/throttle.js' { interface ThrottleSettings { leading?: boolean; trailing?: boolean; } const throttle: any>( func: T, wait?: number, options?: ThrottleSettings, ) => T & {cancel(): void; flush(): void}; export default throttle; }