export default function usePageFocus({ onChange, update, ownerElementRef }?: { onChange?: Function; update?: boolean; ownerElementRef?: import('react').MutableRefObject; }): [boolean, () => void, () => boolean];