import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The type of identification document */ export declare enum IdentificationType { TypeUnspecified = "TYPE_UNSPECIFIED", Ssn = "SSN", Cpf = "CPF" } /** * The type of identification document */ export type IdentificationTypeOpen = OpenEnum; /** * Represents an identification document */ export type Identification = { /** * CLDR format */ regionCode?: string | undefined; /** * The type of identification document */ type?: IdentificationTypeOpen | undefined; /** * The value of the identification document */ value?: string | undefined; }; /** @internal */ export declare const IdentificationType$inboundSchema: z.ZodType; /** @internal */ export declare const IdentificationType$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace IdentificationType$ { /** @deprecated use `IdentificationType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IdentificationType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const Identification$inboundSchema: z.ZodType; /** @internal */ export type Identification$Outbound = { region_code?: string | undefined; type?: string | undefined; value?: string | undefined; }; /** @internal */ export declare const Identification$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Identification$ { /** @deprecated use `Identification$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Identification$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Identification$Outbound` instead. */ type Outbound = Identification$Outbound; } export declare function identificationToJSON(identification: Identification): string; export declare function identificationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=identification.d.ts.map