import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { EmailMessages, EmailMessages$Outbound } from "./emailmessages.js";
export type EmailTemplate = {
    /**
     * Date of creation
     */
    createdAt?: Date | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    messages?: Array<EmailMessages> | null | undefined;
    name?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    tags?: Array<string> | null | undefined;
    /**
     * Date of last update
     */
    updatedAt?: Date | null | undefined;
};
/** @internal */
export declare const EmailTemplate$inboundSchema: z.ZodType<EmailTemplate, z.ZodTypeDef, unknown>;
/** @internal */
export type EmailTemplate$Outbound = {
    created_at?: string | null | undefined;
    id?: string | null | undefined;
    messages?: Array<EmailMessages$Outbound> | null | undefined;
    name?: string | null | undefined;
    remote_id?: string | null | undefined;
    tags?: Array<string> | null | undefined;
    updated_at?: string | null | undefined;
};
/** @internal */
export declare const EmailTemplate$outboundSchema: z.ZodType<EmailTemplate$Outbound, z.ZodTypeDef, EmailTemplate>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace EmailTemplate$ {
    /** @deprecated use `EmailTemplate$inboundSchema` instead. */
    const inboundSchema: z.ZodType<EmailTemplate, z.ZodTypeDef, unknown>;
    /** @deprecated use `EmailTemplate$outboundSchema` instead. */
    const outboundSchema: z.ZodType<EmailTemplate$Outbound, z.ZodTypeDef, EmailTemplate>;
    /** @deprecated use `EmailTemplate$Outbound` instead. */
    type Outbound = EmailTemplate$Outbound;
}
export declare function emailTemplateToJSON(emailTemplate: EmailTemplate): string;
export declare function emailTemplateFromJSON(jsonString: string): SafeParseResult<EmailTemplate, SDKValidationError>;
//# sourceMappingURL=emailtemplate.d.ts.map