export interface SupportedErrorObject extends Error {
    data: {
        path?: string;
        message?: string;
    }[];
}
export declare const isSupportedErrorObject: (error: object) => error is SupportedErrorObject;
export declare const defaultOnError: (error: Error, fieldNames: string[]) => Record<string, string>;
//# sourceMappingURL=utils.d.ts.map