declare function useLockFn
(fn: (...args: P) => Promise): (...args: P) => Promise; export default useLockFn;