type SentRecord = {
    to: string[];
    subject: string;
    text: string;
    html?: string;
    from?: {
        address?: string;
        name?: string;
    };
    attachments?: Array<{
        filename: string;
        content: Buffer;
    }>;
};
type FakeSendInput = {
    to: string | string[];
    subject: string;
    text: string;
    html?: string;
    from?: {
        address?: string;
        name?: string;
    };
    attachments?: Array<{
        filename: string;
        content: Buffer;
    }>;
};
export declare const MailFake: Readonly<{
    _sent: Array<SentRecord>;
    send(input: FakeSendInput): Promise<{
        ok: boolean;
        driver: string;
    }>;
    assertSent(predicate: (r: SentRecord) => boolean): void;
    assertNotSent(predicate: (r: SentRecord) => boolean): void;
    getSent(): SentRecord[];
    reset(): void;
}>;
export default MailFake;
//# sourceMappingURL=testing.d.ts.map