/// <reference types="react" />
import type { InjectedRouter, Route } from "react-router";
export declare const useConfirmIfFormIsDirty: (router?: InjectedRouter, route?: Route) => {
    askBeforeDiscardingChanges: (onConfirm: () => void) => void;
    confirmationModal: import("react/jsx-runtime").JSX.Element | null;
    isStrategyFormDirty: boolean;
    setIsStrategyFormDirty: import("react").Dispatch<import("react").SetStateAction<boolean>>;
};
