export declare function usePreventBeforeUnload(preventBeforeUnload: boolean): () => void;
