import * as z from "zod/v3";
import { ClosedEnum } 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 = ClosedEnum<typeof EmailType>;
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.ZodNativeEnum<typeof EmailType>;
/** @internal */
export declare const EmailType$outboundSchema: z.ZodNativeEnum<typeof EmailType>;
/** @internal */
export declare const Email$inboundSchema: z.ZodType<Email, z.ZodTypeDef, unknown>;
/** @internal */
export type Email$Outbound = {
    id?: string | null | undefined;
    email: string | null;
    type?: string | null | undefined;
};
/** @internal */
export declare const Email$outboundSchema: z.ZodType<Email$Outbound, z.ZodTypeDef, Email>;
export declare function emailToJSON(email: Email): string;
export declare function emailFromJSON(jsonString: string): SafeParseResult<Email, SDKValidationError>;
//# sourceMappingURL=email.d.ts.map