declare const useLockFn: (fn: (...args: T) => Promise

) => (...args: T) => Promise

; export default useLockFn;