export declare const useRedirectToLeave: () => {
    redirectToLeave: (timeout?: number) => void;
};
