import { IRefineContextOptions, IUnsavedWarnContext } from "../../../interfaces"; declare type UseWarnAboutChangeType = () => { warnWhenUnsavedChanges: IRefineContextOptions["warnWhenUnsavedChanges"]; warnWhen: NonNullable; setWarnWhen: NonNullable; }; /** * When you have unsaved changes and try to leave the current page, **refine** shows a confirmation modal box. * To activate this feature, set the `warnWhenUnsavedChanges` to `true`. * * @see {@link https://refine.dev/docs/api-references/components/refine-config#warnwhenunsavedchanges} for more details. */ export declare const useWarnAboutChange: UseWarnAboutChangeType; export {}; //# sourceMappingURL=index.d.ts.map