import * as z from "zod"; /** Creates a draft Resend template. */ export declare const createResendTemplate: import("../..").DefinedAction>; from: z.ZodOptional>; name: z.ZodString; replyTo: z.ZodOptional]>, z.ZodTransform>>; subject: z.ZodOptional>; variables: z.ZodOptional>; key: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ fallbackValue: z.ZodOptional>; key: z.ZodString; type: z.ZodLiteral<"number">; }, z.core.$strip>], "type">>>; html: z.ZodOptional; markdown: z.ZodOptional; text: z.ZodOptional; }, z.core.$strip> & z.ZodType<{ html: string; markdown?: string | undefined; text?: string | undefined; } | { markdown: string; html?: string | undefined; text?: string | undefined; } | { text: string; html?: string | undefined; markdown?: string | undefined; }, { name: string; alias?: string | null | undefined; from?: string | null | undefined; replyTo?: string | string[] | undefined; subject?: string | null | undefined; variables?: ({ key: string; type: "string"; fallbackValue?: string | null | undefined; } | { key: string; type: "number"; fallbackValue?: number | null | undefined; })[] | undefined; html?: string | undefined; markdown?: string | undefined; text?: string | undefined; }, z.core.$ZodTypeInternals<{ html: string; markdown?: string | undefined; text?: string | undefined; } | { markdown: string; html?: string | undefined; text?: string | undefined; } | { text: string; html?: string | undefined; markdown?: string | undefined; }, { name: string; alias?: string | null | undefined; from?: string | null | undefined; replyTo?: string | string[] | undefined; subject?: string | null | undefined; variables?: ({ key: string; type: "string"; fallbackValue?: string | null | undefined; } | { key: string; type: "number"; fallbackValue?: number | null | undefined; })[] | undefined; html?: string | undefined; markdown?: string | undefined; text?: string | undefined; }>>, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"template">; }, z.core.$strip>, "resend", false, never>; /** Lists Resend templates with cursor pagination. */ export declare const listResendTemplates: import("../..").DefinedAction; before: z.ZodOptional; limit: z.ZodPrefault; }, z.core.$strip>, z.ZodPipe; id: z.ZodString; updated_at: z.ZodString; created_at: z.ZodString; published_at: z.ZodNullable; alias: z.ZodNullable; }, z.core.$strip>, z.ZodTransform<{ createdAt: string; publishedAt: string | null; updatedAt: string; name: string; status: "published" | "draft"; id: string; alias: string | null; }, { name: string; status: "published" | "draft"; id: string; updated_at: string; created_at: string; published_at: string | null; alias: string | null; }>>>; has_more: z.ZodBoolean; object: z.ZodLiteral<"list">; }, z.core.$strip>, z.ZodTransform<{ hasMore: boolean; data: { createdAt: string; publishedAt: string | null; updatedAt: string; name: string; status: "published" | "draft"; id: string; alias: string | null; }[]; object: "list"; }, { data: { createdAt: string; publishedAt: string | null; updatedAt: string; name: string; status: "published" | "draft"; id: string; alias: string | null; }[]; has_more: boolean; object: "list"; }>>, "resend", false, never>; /** Retrieves a Resend template by ID or alias. */ export declare const getResendTemplate: import("../..").DefinedAction, z.ZodPipe; created_at: z.ZodString; current_version_id: z.ZodString; from: z.ZodNullable; has_unpublished_versions: z.ZodBoolean; html: z.ZodString; id: z.ZodString; name: z.ZodString; object: z.ZodLiteral<"template">; published_at: z.ZodNullable; reply_to: z.ZodNullable>; status: z.ZodEnum<{ published: "published"; draft: "draft"; }>; subject: z.ZodNullable; text: z.ZodNullable; updated_at: z.ZodString; variables: z.ZodNullable; key: z.ZodString; type: z.ZodLiteral<"string">; updated_at: z.ZodString; }, z.core.$strip>, z.ZodObject<{ created_at: z.ZodString; fallback_value: z.ZodNullable; key: z.ZodString; type: z.ZodLiteral<"number">; updated_at: z.ZodString; }, z.core.$strip>], "type">, z.ZodTransform<{ createdAt: string; fallbackValue: string | number | null; updatedAt: string; key: string; type: "string"; } | { createdAt: string; fallbackValue: string | number | null; updatedAt: string; key: string; type: "number"; }, { created_at: string; fallback_value: string | null; key: string; type: "string"; updated_at: string; } | { created_at: string; fallback_value: number | null; key: string; type: "number"; updated_at: string; }>>>>; }, z.core.$strip>, z.ZodTransform<{ createdAt: string; currentVersionId: string; hasUnpublishedVersions: boolean; publishedAt: string | null; replyTo: string[] | null; updatedAt: string; alias: string | null; from: string | null; html: string; id: string; name: string; object: "template"; status: "published" | "draft"; subject: string | null; text: string | null; variables: ({ createdAt: string; fallbackValue: string | number | null; updatedAt: string; key: string; type: "string"; } | { createdAt: string; fallbackValue: string | number | null; updatedAt: string; key: string; type: "number"; })[] | null; }, { alias: string | null; created_at: string; current_version_id: string; from: string | null; has_unpublished_versions: boolean; html: string; id: string; name: string; object: "template"; published_at: string | null; reply_to: string[] | null; status: "published" | "draft"; subject: string | null; text: string | null; updated_at: string; variables: ({ createdAt: string; fallbackValue: string | number | null; updatedAt: string; key: string; type: "string"; } | { createdAt: string; fallbackValue: string | number | null; updatedAt: string; key: string; type: "number"; })[] | null; }>>, "resend", false, never>; /** Updates a draft or the unpublished version of a Resend template. */ export declare const updateResendTemplate: import("../..").DefinedAction; alias: z.ZodOptional>; from: z.ZodOptional>; replyTo: z.ZodOptional]>, z.ZodTransform>>; subject: z.ZodOptional>; variables: z.ZodOptional>; key: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ fallbackValue: z.ZodOptional>; key: z.ZodString; type: z.ZodLiteral<"number">; }, z.core.$strip>], "type">>>; html: z.ZodOptional; markdown: z.ZodOptional; text: z.ZodOptional; }, z.core.$strip>; template: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"template">; }, z.core.$strip>, "resend", false, never>; /** Deletes a Resend template by ID or alias. */ export declare const deleteResendTemplate: import("../..").DefinedAction, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"template">; deleted: z.ZodBoolean; }, z.core.$strip>, "resend", false, never>; /** Publishes the current Resend template version. */ export declare const publishResendTemplate: import("../..").DefinedAction, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"template">; }, z.core.$strip>, "resend", false, never>; /** Duplicates a Resend template into a new draft. */ export declare const duplicateResendTemplate: import("../..").DefinedAction, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"template">; }, z.core.$strip>, "resend", false, never>; //# sourceMappingURL=templates.d.ts.map