import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type CandidateEmail = {
    /**
     * Type of the email
     */
    type?: string | null | undefined;
    /**
     * Email value
     */
    value?: string | null | undefined;
};
/** @internal */
export declare const CandidateEmail$inboundSchema: z.ZodType<CandidateEmail, z.ZodTypeDef, unknown>;
/** @internal */
export type CandidateEmail$Outbound = {
    type?: string | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const CandidateEmail$outboundSchema: z.ZodType<CandidateEmail$Outbound, z.ZodTypeDef, CandidateEmail>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CandidateEmail$ {
    /** @deprecated use `CandidateEmail$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CandidateEmail, z.ZodTypeDef, unknown>;
    /** @deprecated use `CandidateEmail$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CandidateEmail$Outbound, z.ZodTypeDef, CandidateEmail>;
    /** @deprecated use `CandidateEmail$Outbound` instead. */
    type Outbound = CandidateEmail$Outbound;
}
export declare function candidateEmailToJSON(candidateEmail: CandidateEmail): string;
export declare function candidateEmailFromJSON(jsonString: string): SafeParseResult<CandidateEmail, SDKValidationError>;
//# sourceMappingURL=candidateemail.d.ts.map