import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { MoovError } from "./mooverror.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type ErrorT = { name?: components.IndividualNameError | undefined; phone?: components.PhoneNumberError | undefined; email?: string | undefined; address?: components.AddressError | undefined; birthDate?: components.BirthDateValidationError | undefined; governmentID?: components.GovernmentIDError | undefined; responsibilities?: components.RepresentativeResponsibilitiesError | undefined; }; export type RepresentativeValidationErrorData = { error: ErrorT; }; export declare class RepresentativeValidationError extends MoovError { error: ErrorT; /** The original data that was passed to this error instance. */ data$: RepresentativeValidationErrorData; constructor(err: RepresentativeValidationErrorData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const ErrorT$inboundSchema: z.ZodType; /** @internal */ export type ErrorT$Outbound = { name?: components.IndividualNameError$Outbound | undefined; phone?: components.PhoneNumberError$Outbound | undefined; email?: string | undefined; address?: components.AddressError$Outbound | undefined; birthDate?: components.BirthDateValidationError$Outbound | undefined; governmentID?: components.GovernmentIDError$Outbound | undefined; responsibilities?: components.RepresentativeResponsibilitiesError$Outbound | undefined; }; /** @internal */ export declare const ErrorT$outboundSchema: z.ZodType; export declare function errorToJSON(errorT: ErrorT): string; export declare function errorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RepresentativeValidationError$inboundSchema: z.ZodType; /** @internal */ export type RepresentativeValidationError$Outbound = { error: ErrorT$Outbound; }; /** @internal */ export declare const RepresentativeValidationError$outboundSchema: z.ZodType; //# sourceMappingURL=representativevalidationerror.d.ts.map