/** * Terminal presenters for the email CLI. Pure string builders (no I/O) so they * are unit-testable and so the command layer stays thin. Colour is opt-in and * off by default for non-TTY output (pipes, tests); the command layer passes * `color: process.stdout.isTTY && !process.env.NO_COLOR`. */ import type { Email, EmailMeta, Mailbox, PaginatedResult } from '../types/index.js'; interface Opts { color: boolean; } export declare function formatSize(bytes: number): string; /** A one-line-per-message listing with flag glyphs, aligned columns. */ export declare function formatEmailList(result: PaginatedResult, mailbox: string, opts: Opts): string; /** A full message: headers, body (text preferred, HTML stripped otherwise), attachments. */ export declare function formatEmailFull(email: Email, opts: Opts): string; /** Mailbox listing with unread/total counts when the server reported them. */ export declare function formatMailboxes(boxes: Mailbox[], opts: Opts): string; export {}; //# sourceMappingURL=presenters.d.ts.map