declare const usePersistFn: (fn: any) => (...args: any[]) => any; export default usePersistFn;