import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { type PersistedMailCredentials } from "../cloud/mail-credential-store.js";
import { type MailSender } from "../mail/mail-sender.js";
/** Injection seam for tests: how a {@link MailSender} is built from the loaded creds. */
export interface SendMailDeps {
    senderFactory?: (creds: PersistedMailCredentials) => MailSender;
}
/**
 * cogent_send_mail — send an email from this agent's mailbox (Cogent Mail M2.2). Reads the
 * agent's own creds from the local store, composes the message with optional attachments read
 * from local file paths, and submits over SMTP (as the agent — no admin). The heavy SMTP lib
 * loads lazily only when this runs. Thin glue over buildAndSendMail (unit-tested in mail-sender.test).
 * `deps.senderFactory` lets tests drive an in-memory sender instead of real SMTP.
 */
export declare function registerSendMailTool(server: McpServer, deps?: SendMailDeps): void;
//# sourceMappingURL=send-mail.d.ts.map