import { AxiosError } from 'axios';
import { TFormName } from '../../../../../localTypes/form';
export declare const handleSubmitError: ({ error, expandedKeys, }: {
    error: AxiosError<any, any>;
    expandedKeys: TFormName[];
}) => any[];
export declare const handleValidationError: ({ error, expandedKeys, }: {
    error: {
        errorFields: {
            name: TFormName;
            errors: string[];
            warnings: string[];
        }[];
    } & unknown;
    expandedKeys: TFormName[];
}) => any[];
