declare type noop = (...args: any[]) => any; declare function usePersistFn(fn: T): T; export default usePersistFn;