import { type Mail } from './contracts.js'; export declare function addresses(value: string): string[]; export declare function validateRecipients(mail: Pick): boolean; export declare function newMail(identity: string): Mail; /** How a reply draft relates to its source message. */ export declare const ReplyKind: Readonly<{ readonly Reply: 'reply'; readonly ReplyAll: 'reply-all'; readonly Forward: 'forward'; }>; export type ReplyKind = (typeof ReplyKind)[keyof typeof ReplyKind]; export declare function replyMail(source: Mail, identity: string, kind: ReplyKind): Mail; /** Draft edits change their order; read state and folder moves do not. */ export declare function mailTime(mail: Mail): string; export declare function sortMail(mail: readonly Mail[]): Mail[]; //# sourceMappingURL=mail.d.ts.map