/// <reference types="react" />
/// <reference types="node" resolution-mode="require"/>
import { EmailOptions, MailContact, MailContacts } from './index.js';
export declare function mailContactToType(contact: MailContact): {
    name?: string;
    email: string;
};
export declare function mailContactsToType(contacts: MailContacts): Array<{
    name?: string;
    email: string;
}>;
export declare function parseMail(email: React.ReactElement, options: EmailOptions): Promise<{
    from: {
        name?: string | undefined;
        email: string;
    };
    to: {
        name?: string | undefined;
        email: string;
    }[];
    cc: {
        name?: string | undefined;
        email: string;
    }[] | undefined;
    bcc: {
        name?: string | undefined;
        email: string;
    }[] | undefined;
    reply_to: {
        name?: string | undefined;
        email: string;
    } | undefined;
    text: string;
    html: string;
} | undefined>;
export declare function quotedPrintableEncode(input: string): string;
export declare function encodeAttachmentToBase64(content: Buffer | ArrayBuffer | string): string;
