interface FetchAttachmentParams { accountId: string; mailbox?: string; uid: number; index?: number; filename?: string; } /** * Return the extracted text of one INBOX attachment, addressed by uid plus an * optional index or filename. The read-side twin of email-fetch-body: that tool * returns the message body, this returns an attachment's content. PDF via * pdftotext, text/* by decode; other types report that they cannot be * extracted, and a scanned PDF reports its missing text layer, so "no data in * the attachment" is never indistinguishable from "the attachment could not be * read". */ export declare function emailFetchAttachment(params: FetchAttachmentParams): Promise; export {}; //# sourceMappingURL=email-fetch-attachment.d.ts.map