import type { PromiseWithoutOptionAction, PromiseAction } from '../type';
export type Enable = PromiseAction<string>;
export type Disable = PromiseWithoutOptionAction;
declare function useAlertBeforeUnload(): {
enable: Enable;
disable: Disable;
};
export default useAlertBeforeUnload;