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"; /** * Type of editor to use for the body. */ export declare const EmailControlDtoEditorType: { readonly Block: "block"; readonly Html: "html"; }; /** * Type of editor to use for the body. */ export type EmailControlDtoEditorType = ClosedEnum; export type EmailControlDto = { /** * JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference. */ skip?: { [k: string]: any; } | undefined; /** * Subject of the email. */ subject: string; /** * Body content of the email, either a valid Maily JSON object, or html string. */ body?: string | undefined; /** * Type of editor to use for the body. */ editorType?: EmailControlDtoEditorType | undefined; /** * Disable sanitization of the output. */ disableOutputSanitization?: boolean | undefined; /** * Layout ID to use for the email. Null means no layout, undefined means default layout. */ layoutId?: string | null | undefined; }; /** @internal */ export declare const EmailControlDtoEditorType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EmailControlDtoEditorType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EmailControlDto$inboundSchema: z.ZodType; /** @internal */ export type EmailControlDto$Outbound = { skip?: { [k: string]: any; } | undefined; subject: string; body: string; editorType: string; disableOutputSanitization: boolean; layoutId?: string | null | undefined; }; /** @internal */ export declare const EmailControlDto$outboundSchema: z.ZodType; export declare function emailControlDtoToJSON(emailControlDto: EmailControlDto): string; export declare function emailControlDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=emailcontroldto.d.ts.map