declare function useConditionalLock(fn: Function, unlockCondition: boolean): (...args: any[]) => void; export default useConditionalLock;