import type { Mailer } from "./mailer.js";
import { SendEvent, type Message, type SendInterceptor } from "./mailer.js";
export declare class Sendmail implements Mailer, SendInterceptor {
    #private;
    OnSend(): import("../hook/hook.js").Hook<SendEvent>;
    Send(message: Message): Error | null;
    protected findCommandPath(): [string, Error | null];
    protected runCommand(commandPath: string, recipients: string[], payload: string): Error | null;
    private send;
}
