import { type ParsedRfc822 } from '../../../../core/email/_parse.ts'; import type { EmailConfig } from '../../../../core/email/config.ts'; /** * Pushes an RFC 5322 message through the account's SMTP path. * * Sending lives with the CLI rather than in core/email because the email * mount is read-only: no filesystem operation reaches SMTP, and himalaya * is the only thing that sends. Returns the parsed message so callers can * report its headers. */ export declare function sendRaw(config: EmailConfig, raw: Uint8Array): Promise; /** * The Bcc header's addresses, read here rather than from ParsedRfc822: * Bcc never survives delivery, so it has no place in the rendered * message the mount serves. */ export declare function bccAddresses(raw: Uint8Array): string[]; /** Drops the Bcc header (and its folded continuation lines) from a message. */ export declare function stripBcc(raw: Uint8Array): Uint8Array; //# sourceMappingURL=smtp.d.ts.map