declare interface InitialStateType {
	isActive: boolean;
	proceed: (value: unknown) => void;
	cancel: (value: unknown) => void;
}
declare interface ConfirmLeaveReturnType extends InitialStateType {
	onConfirm: () => Promise<boolean>;
	resetConfirmation: () => void;
}
declare const useConfirm: () => ConfirmLeaveReturnType;
export default useConfirm;