import type { GraphClientConfig } from "../lib/graph-client.js"; export interface ReplyArgs { messageId: string; body: string; replyAll?: boolean; cc?: string[]; bcc?: string[]; attachments?: string[]; } export interface ReplyResult { conversationId: string | null; to: string[]; replyAll: boolean; attachments: string[]; } /** * Reply to a message in-thread via Microsoft Graph. Threading is native: the * createReply/createReplyAll draft carries the original conversationId. The * body is passed as `comment` (Graph prepends it above the quoted original). * cc/bcc are added by PATCHing the draft; attachments are added per-file, then * the draft is sent. Attachment paths are validated BEFORE any Graph write so a * bad path leaves no orphan draft; a file at or under the inline limit is added * as one base64 fileAttachment POST, a larger file (up to the 25 MB account cap) * streams through a Graph upload session. */ export declare function runMailReply(config: GraphClientConfig, args: ReplyArgs): Promise; //# sourceMappingURL=mail-reply.d.ts.map