export default function useRafLock(): [state: boolean, setState: (nextState: boolean) => void];