import { ThrottleOptions } from '../useThrottle/throttleOptions'; declare type Fn = (...args: any) => any; declare function useThrottleFn(fn: T, options?: ThrottleOptions): { run: T; cancel: () => void; flush: () => ReturnType | undefined; }; export default useThrottleFn;