import type { AccountConfig } from "../accounts.js"; import type { MailProvider } from "../providers/interface.js"; export declare const DEFAULT_DAILY_SEND_LIMIT = 100; export interface OutgoingCheck { account: string; config: AccountConfig | undefined; provider: MailProvider; /** Every address the message will go to (To, Cc, Bcc), as given by the caller. */ recipients: string[]; /** Addresses that came from a message the account already received (reply targets). They skip the new-recipient check. */ knownRecipients?: string[]; confirmNewRecipient?: boolean; isForward?: boolean; confirmExternalForward?: boolean; /** Draft creation: allowlist applies, confirmations and the daily cap do not. */ draftOnly?: boolean; } export declare function isAllowedRecipient(address: string, allowlist: string[]): boolean; export declare function checkOutgoing(check: OutgoingCheck): Promise;