export type ChatAttachment = { type?: string; mimeType?: string; fileName?: string; content?: unknown; }; export type ChatImageContent = { type: "image"; data: string; mimeType: string; }; export type ParsedMessageWithImages = { message: string; images: ChatImageContent[]; }; type AttachmentLog = { warn: (message: string) => void; }; /** * Parse attachments and extract images as structured content blocks. * Returns the message text and an array of image content blocks * compatible with Claude API's image format. */ export declare function parseMessageWithAttachments(message: string, attachments: ChatAttachment[] | undefined, opts?: { maxBytes?: number; log?: AttachmentLog; }): Promise; /** * @deprecated Use parseMessageWithAttachments instead. * This function converts images to markdown data URLs which Claude API cannot process as images. */ export declare function buildMessageWithAttachments(message: string, attachments: ChatAttachment[] | undefined, opts?: { maxBytes?: number; }): string; export {};