/** * Asks the browser to confirm before the page is closed or reloaded, for as * long as `isEnabled` is `true` and the calling component is mounted. */ export declare function useConfirmBeforeUnload(isEnabled: boolean): void;