/**
 * @bobfrankston/mailx-compose
 * Compose message logic — builds prefilled compose data for reply/forward.
 * UI lives in client/compose/; this package has the shared logic.
 */
import type { Message, EmailAddress } from "@bobfrankston/mailx-types";
export type ComposeMode = "new" | "reply" | "replyAll" | "forward";
/** Data passed to the compose window via query params or postMessage */
export interface ComposeInit {
    mode: ComposeMode;
    accountId: string;
    to: EmailAddress[];
    cc: EmailAddress[];
    subject: string;
    bodyHtml: string;
    inReplyTo: string;
    references: string[];
}
/** Build compose init data from an original message and mode */
export declare function buildComposeInit(mode: ComposeMode, accountId: string, original?: Message): ComposeInit;
//# sourceMappingURL=index.d.ts.map