import React from 'react';
interface SaveOnNavigateProps {
    /** If set to true, will prevent form submission when navigating away. (default: false) */
    isSubmitting?: boolean;
    /** Callback that will be called when a navigation attempt was cancelled */
    onNavigationCancelled?: () => void;
}
/**
 * Performs logic to keep user on the page if form is not valid, as well as saving valid forms on navigation.
 */
export declare const SaveOnNavigate: React.FC<SaveOnNavigateProps>;
export {};
//# sourceMappingURL=SaveOnNavigate.d.ts.map