export declare const useBeforeUnload: (dirty: boolean) => void;