import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Email type */ export declare const EmailType: { readonly Primary: "primary"; readonly Secondary: "secondary"; readonly Work: "work"; readonly Personal: "personal"; readonly Billing: "billing"; readonly Other: "other"; }; /** * Email type */ export type EmailType = OpenEnum; export type Email = { /** * Unique identifier for the email address */ id?: string | null | undefined; /** * Email address */ email: string | null; /** * Email type */ type?: EmailType | null | undefined; }; /** @internal */ export declare const EmailType$inboundSchema: z.ZodType; /** @internal */ export declare const EmailType$outboundSchema: z.ZodType; /** @internal */ export declare const Email$inboundSchema: z.ZodType; /** @internal */ export type Email$Outbound = { id?: string | null | undefined; email: string | null; type?: string | null | undefined; }; /** @internal */ export declare const Email$outboundSchema: z.ZodType; export declare function emailToJSON(email: Email): string; export declare function emailFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=email.d.ts.map