/** * Messages Mega Tool * All email message operations in one unified interface */ import type { AccountConfig } from '../helpers/config.js'; import { type SendInput } from './send.js'; /** Clear the archive folder path cache */ export declare function clearArchiveFolderCache(): number; export interface MessagesInput { action: 'search' | 'read' | 'mark_read' | 'mark_unread' | 'flag' | 'unflag' | 'move' | 'archive' | 'trash' | SendInput['action']; account?: string; query?: string; folder?: string; limit?: number; uid?: number; preview?: boolean; max_chars?: number; uids?: number[]; destination?: string; to?: string; subject?: string; body?: string; cc?: string; bcc?: string; attachments?: SendInput['attachments']; } /** * Unified messages tool - handles all message operations */ export declare function messages(accounts: AccountConfig[], input: MessagesInput): Promise; //# sourceMappingURL=messages.d.ts.map