import * as z from "zod"; /** Sends or schedules a transactional Resend email. */ export declare const sendResendEmail: import("../..").DefinedAction; contentType: z.ZodOptional; filename: z.ZodString; }, z.core.$strip>, z.ZodObject<{ contentId: z.ZodOptional; contentType: z.ZodOptional; filename: z.ZodOptional; path: z.ZodURL; }, z.core.$strip>]>>>; bcc: z.ZodOptional]>, z.ZodTransform>>; cc: z.ZodOptional]>, z.ZodTransform>>; from: z.ZodOptional; headers: z.ZodOptional>; idempotencyKey: z.ZodOptional; replyTo: z.ZodOptional]>, z.ZodTransform>>; scheduledAt: z.ZodOptional; subject: z.ZodOptional; tags: z.ZodOptional>>; template: z.ZodOptional>>; }, z.core.$strip>>; topicId: z.ZodOptional; to: z.ZodPipe]>, z.ZodTransform>; html: z.ZodOptional; markdown: z.ZodOptional; text: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, "resend", false, never>; /** Sends up to 100 Resend emails in one provider request. */ export declare const sendResendEmailBatch: import("../..").DefinedAction; emails: z.ZodArray>; text: z.ZodOptional; html: z.ZodOptional; markdown: z.ZodOptional; replyTo: z.ZodOptional]>, z.ZodTransform>>; subject: z.ZodOptional; to: z.ZodPipe]>, z.ZodTransform>; scheduledAt: z.ZodOptional; from: z.ZodOptional; tags: z.ZodOptional>>; bcc: z.ZodOptional]>, z.ZodTransform>>; cc: z.ZodOptional]>, z.ZodTransform>>; template: z.ZodOptional>>; }, z.core.$strip>>; topicId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ data: z.ZodArray>; }, z.core.$strip>, "resend", false, never>; /** Retrieves a sent or scheduled Resend email by ID. */ export declare const getResendEmail: import("../..").DefinedAction, z.ZodPipe; message_id: z.ZodOptional>; scheduled_at: z.ZodOptional>; subject: z.ZodString; to: z.ZodArray; topic_id: z.ZodOptional>; bcc: z.ZodOptional>>; cc: z.ZodOptional>>; html: z.ZodOptional>; object: z.ZodLiteral<"email">; reply_to: z.ZodOptional>>; tags: z.ZodOptional>>; text: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ createdAt: string; lastEvent: "failed" | "canceled" | "sent" | "delivered" | "clicked" | "opened" | "bounced" | "complained" | "scheduled" | "queued" | "suppressed" | "delivery_delayed"; messageId: string | null | undefined; replyTo: string[] | null | undefined; scheduledAt: string | null | undefined; topicId: string | null | undefined; from: string; id: string; subject: string; to: string[]; object: "email"; bcc?: string[] | null | undefined; cc?: string[] | null | undefined; html?: string | null | undefined; tags?: { name: string; value: string; }[] | undefined; text?: string | null | undefined; }, { created_at: string; from: string; id: string; last_event: "failed" | "canceled" | "sent" | "delivered" | "clicked" | "opened" | "bounced" | "complained" | "scheduled" | "queued" | "suppressed" | "delivery_delayed"; subject: string; to: string[]; object: "email"; message_id?: string | null | undefined; scheduled_at?: string | null | undefined; topic_id?: string | null | undefined; bcc?: string[] | null | undefined; cc?: string[] | null | undefined; html?: string | null | undefined; reply_to?: string[] | null | undefined; tags?: { name: string; value: string; }[] | undefined; text?: string | null | undefined; }>>, "resend", false, never>; /** Lists sent and scheduled Resend emails with cursor pagination. */ export declare const listResendEmails: import("../..").DefinedAction; before: z.ZodOptional; limit: z.ZodPrefault; }, z.core.$strip>, z.ZodPipe>>; cc: z.ZodOptional>>; created_at: z.ZodString; from: z.ZodString; id: z.ZodString; last_event: z.ZodEnum<{ failed: "failed"; canceled: "canceled"; sent: "sent"; delivered: "delivered"; clicked: "clicked"; opened: "opened"; bounced: "bounced"; complained: "complained"; scheduled: "scheduled"; queued: "queued"; suppressed: "suppressed"; delivery_delayed: "delivery_delayed"; }>; message_id: z.ZodOptional>; reply_to: z.ZodOptional>>; scheduled_at: z.ZodOptional>; subject: z.ZodString; to: z.ZodArray; topic_id: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ createdAt: string; lastEvent: "failed" | "canceled" | "sent" | "delivered" | "clicked" | "opened" | "bounced" | "complained" | "scheduled" | "queued" | "suppressed" | "delivery_delayed"; messageId: string | null | undefined; replyTo: string[] | null | undefined; scheduledAt: string | null | undefined; topicId: string | null | undefined; from: string; id: string; subject: string; to: string[]; bcc?: string[] | null | undefined; cc?: string[] | null | undefined; }, { created_at: string; from: string; id: string; last_event: "failed" | "canceled" | "sent" | "delivered" | "clicked" | "opened" | "bounced" | "complained" | "scheduled" | "queued" | "suppressed" | "delivery_delayed"; subject: string; to: string[]; bcc?: string[] | null | undefined; cc?: string[] | null | undefined; message_id?: string | null | undefined; reply_to?: string[] | null | undefined; scheduled_at?: string | null | undefined; topic_id?: string | null | undefined; }>>>; has_more: z.ZodBoolean; object: z.ZodLiteral<"list">; }, z.core.$strip>, z.ZodTransform<{ hasMore: boolean; data: { createdAt: string; lastEvent: "failed" | "canceled" | "sent" | "delivered" | "clicked" | "opened" | "bounced" | "complained" | "scheduled" | "queued" | "suppressed" | "delivery_delayed"; messageId: string | null | undefined; replyTo: string[] | null | undefined; scheduledAt: string | null | undefined; topicId: string | null | undefined; from: string; id: string; subject: string; to: string[]; bcc?: string[] | null | undefined; cc?: string[] | null | undefined; }[]; object: "list"; }, { data: { createdAt: string; lastEvent: "failed" | "canceled" | "sent" | "delivered" | "clicked" | "opened" | "bounced" | "complained" | "scheduled" | "queued" | "suppressed" | "delivery_delayed"; messageId: string | null | undefined; replyTo: string[] | null | undefined; scheduledAt: string | null | undefined; topicId: string | null | undefined; from: string; id: string; subject: string; to: string[]; bcc?: string[] | null | undefined; cc?: string[] | null | undefined; }[]; has_more: boolean; object: "list"; }>>, "resend", false, never>; /** Changes the delivery time of a scheduled Resend email. */ export declare const updateScheduledResendEmail: import("../..").DefinedAction, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"email">; }, z.core.$strip>, "resend", false, never>; /** Cancels a scheduled Resend email before delivery begins. */ export declare const cancelScheduledResendEmail: import("../..").DefinedAction, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"email">; }, z.core.$strip>, "resend", false, never>; /** Creates a temporary share link for a sent or received email. */ export declare const shareResendEmail: import("../..").DefinedAction; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; object: z.ZodLiteral<"email">; url: z.ZodURL; }, z.core.$strip>, "resend", false, never>; /** Lists attachments for a sent Resend email. */ export declare const listResendEmailAttachments: import("../..").DefinedAction; before: z.ZodOptional; limit: z.ZodPrefault; emailId: z.ZodString; }, z.core.$strip>, z.ZodPipe>; content_id: z.ZodOptional; content_type: z.ZodString; download_url: z.ZodURL; expires_at: z.ZodString; filename: z.ZodOptional>; id: z.ZodString; size: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }, { content_disposition: "attachment" | "inline" | null; content_type: string; download_url: string; expires_at: string; id: string; size: number; content_id?: string | undefined; filename?: string | null | undefined; }>>>; has_more: z.ZodBoolean; object: z.ZodLiteral<"list">; }, z.core.$strip>, z.ZodTransform<{ hasMore: boolean; data: { filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }[]; object: "list"; }, { data: { filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }[]; has_more: boolean; object: "list"; }>>, "resend", false, never>; /** Retrieves one sent-email attachment and its temporary download URL. */ export declare const getResendEmailAttachment: import("../..").DefinedAction, z.ZodPipe>; content_id: z.ZodOptional; content_type: z.ZodString; download_url: z.ZodURL; expires_at: z.ZodString; filename: z.ZodOptional>; id: z.ZodString; size: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }, { content_disposition: "attachment" | "inline" | null; content_type: string; download_url: string; expires_at: string; id: string; size: number; content_id?: string | undefined; filename?: string | null | undefined; }>>, "resend", false, never>; /** Lists inbound emails received by Resend. */ export declare const listReceivedResendEmails: import("../..").DefinedAction; before: z.ZodOptional; limit: z.ZodPrefault; }, z.core.$strip>, z.ZodPipe; content_id: z.ZodNullable; content_type: z.ZodString; filename: z.ZodNullable; id: z.ZodString; size: z.ZodNumber; }, z.core.$strip>>; bcc: z.ZodNullable>; cc: z.ZodNullable>; created_at: z.ZodString; from: z.ZodString; id: z.ZodString; message_id: z.ZodString; reply_to: z.ZodNullable>; subject: z.ZodNullable; to: z.ZodArray; }, z.core.$strip>, z.ZodTransform<{ attachments: { contentDisposition: string | null; contentId: string | null; contentType: string; filename: string | null; id: string; size: number; }[]; createdAt: string; messageId: string; replyTo: string[] | null; bcc: string[] | null; cc: string[] | null; from: string; id: string; subject: string | null; to: string[]; }, { attachments: { content_disposition: string | null; content_id: string | null; content_type: string; filename: string | null; id: string; size: number; }[]; bcc: string[] | null; cc: string[] | null; created_at: string; from: string; id: string; message_id: string; reply_to: string[] | null; subject: string | null; to: string[]; }>>>; has_more: z.ZodBoolean; object: z.ZodLiteral<"list">; }, z.core.$strip>, z.ZodTransform<{ hasMore: boolean; data: { attachments: { contentDisposition: string | null; contentId: string | null; contentType: string; filename: string | null; id: string; size: number; }[]; createdAt: string; messageId: string; replyTo: string[] | null; bcc: string[] | null; cc: string[] | null; from: string; id: string; subject: string | null; to: string[]; }[]; object: "list"; }, { data: { attachments: { contentDisposition: string | null; contentId: string | null; contentType: string; filename: string | null; id: string; size: number; }[]; createdAt: string; messageId: string; replyTo: string[] | null; bcc: string[] | null; cc: string[] | null; from: string; id: string; subject: string | null; to: string[]; }[]; has_more: boolean; object: "list"; }>>, "resend", false, never>; /** Retrieves one inbound email including its content and headers. */ export declare const getReceivedResendEmail: import("../..").DefinedAction, z.ZodPipe; content_id: z.ZodNullable; content_type: z.ZodString; filename: z.ZodNullable; id: z.ZodString; size: z.ZodNumber; }, z.core.$strip>>; bcc: z.ZodNullable>; cc: z.ZodNullable>; created_at: z.ZodString; from: z.ZodString; id: z.ZodString; message_id: z.ZodString; reply_to: z.ZodNullable>; to: z.ZodArray; headers: z.ZodNullable>; html: z.ZodNullable; object: z.ZodLiteral<"email">; raw: z.ZodOptional>>; received_for: z.ZodOptional>; subject: z.ZodString; text: z.ZodNullable; }, z.core.$strip>, z.ZodTransform<{ attachments: { contentDisposition: string | null; contentId: string | null; contentType: string; filename: string | null; id: string; size: number; }[]; createdAt: string; messageId: string; raw: { downloadUrl: string; expiresAt: string; } | null | undefined; receivedFor: string[] | undefined; replyTo: string[] | null; bcc: string[] | null; cc: string[] | null; from: string; id: string; to: string[]; headers: Record | null; html: string | null; object: "email"; subject: string; text: string | null; }, { attachments: { content_disposition: string | null; content_id: string | null; content_type: string; filename: string | null; id: string; size: number; }[]; bcc: string[] | null; cc: string[] | null; created_at: string; from: string; id: string; message_id: string; reply_to: string[] | null; to: string[]; headers: Record | null; html: string | null; object: "email"; subject: string; text: string | null; raw?: { download_url: string; expires_at: string; } | null | undefined; received_for?: string[] | undefined; }>>, "resend", false, never>; /** Lists attachments for an inbound Resend email. */ export declare const listReceivedResendEmailAttachments: import("../..").DefinedAction; before: z.ZodOptional; limit: z.ZodPrefault; emailId: z.ZodString; }, z.core.$strip>, z.ZodPipe>; content_id: z.ZodOptional; content_type: z.ZodString; download_url: z.ZodURL; expires_at: z.ZodString; filename: z.ZodOptional>; id: z.ZodString; size: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }, { content_disposition: "attachment" | "inline" | null; content_type: string; download_url: string; expires_at: string; id: string; size: number; content_id?: string | undefined; filename?: string | null | undefined; }>>>; has_more: z.ZodBoolean; object: z.ZodLiteral<"list">; }, z.core.$strip>, z.ZodTransform<{ hasMore: boolean; data: { filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }[]; object: "list"; }, { data: { filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }[]; has_more: boolean; object: "list"; }>>, "resend", false, never>; /** Retrieves one inbound-email attachment and its temporary download URL. */ export declare const getReceivedResendEmailAttachment: import("../..").DefinedAction, z.ZodPipe>; content_id: z.ZodOptional; content_type: z.ZodString; download_url: z.ZodURL; expires_at: z.ZodString; filename: z.ZodOptional>; id: z.ZodString; size: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ filename?: string | null | undefined; contentType: string; downloadUrl: string; expiresAt: string; contentId?: string | undefined; contentDisposition: "attachment" | "inline" | null; id: string; size: number; }, { content_disposition: "attachment" | "inline" | null; content_type: string; download_url: string; expires_at: string; id: string; size: number; content_id?: string | undefined; filename?: string | null | undefined; }>>, "resend", false, never>; /** Retrieves account-level Resend email delivery and engagement metrics. */ export declare const getResendEmailMetrics: import("../..").DefinedAction>; dimensions: z.ZodOptional>>; domainIds: z.ZodOptional>; emailIds: z.ZodOptional>; endDate: z.ZodOptional; granularity: z.ZodPrefault>; metrics: z.ZodOptional>>; startDate: z.ZodOptional; timezone: z.ZodPrefault; }, z.core.$strip>, z.ZodPipe; broadcast_name: z.ZodOptional; domain_id: z.ZodOptional; domain_name: z.ZodOptional; email_id: z.ZodOptional; period: z.ZodOptional; }, z.core.$catchall>>>; dimensions: z.ZodArray>; end_date: z.ZodString; granularity: z.ZodEnum<{ monthly: "monthly"; weekly: "weekly"; hourly: "hourly"; daily: "daily"; }>; metrics: z.ZodArray>; object: z.ZodLiteral<"metrics">; start_date: z.ZodString; totals: z.ZodRecord; }, z.core.$strip>, z.ZodTransform<{ data: { broadcastId: string | undefined; broadcastName: string | undefined; domainId: string | undefined; domainName: string | undefined; emailId: string | undefined; period?: string | undefined; }[] | undefined; endDate: string; startDate: string; dimensions: ("email" | "domain" | "broadcast" | "period")[]; granularity: "monthly" | "weekly" | "hourly" | "daily"; metrics: ("failed" | "received" | "opened" | "sent" | "delivered" | "clicked" | "unsubscribed" | "suppressed" | "bounce_rate" | "click_rate" | "open_rate" | "bounced" | "complained" | "delivery_delayed" | "bounced_permanent" | "bounced_transient" | "bounced_undetermined" | "complaint_rate" | "delivery_rate" | "unique_clicked" | "unique_opened" | "unsubscribe_rate")[]; object: "metrics"; totals: Record; }, { dimensions: ("email" | "domain" | "broadcast" | "period")[]; end_date: string; granularity: "monthly" | "weekly" | "hourly" | "daily"; metrics: ("failed" | "received" | "opened" | "sent" | "delivered" | "clicked" | "unsubscribed" | "suppressed" | "bounce_rate" | "click_rate" | "open_rate" | "bounced" | "complained" | "delivery_delayed" | "bounced_permanent" | "bounced_transient" | "bounced_undetermined" | "complaint_rate" | "delivery_rate" | "unique_clicked" | "unique_opened" | "unsubscribe_rate")[]; object: "metrics"; start_date: string; totals: Record; data?: { [x: string]: number; broadcast_id?: string | undefined; broadcast_name?: string | undefined; domain_id?: string | undefined; domain_name?: string | undefined; email_id?: string | undefined; period?: string | undefined; }[] | undefined; }>>, "resend", false, never>; //# sourceMappingURL=actions.d.ts.map