import { ApplicationOptionType } from '..';
interface MailInterface {
    from?: string;
    to: string | string[];
    cc?: string | string[];
    bcc?: string | string[];
    subject: string;
    text?: string;
    html: string;
}
export default class Mailer {
    private static instance;
    private transporter;
    private sender;
    private LOCAL_DIR;
    static getInstance(): Mailer;
    connect(options: ApplicationOptionType): Promise<void>;
    hasValidConfig(options: ApplicationOptionType): boolean;
    sendMail(options: MailInterface, template?: string, values?: any): Promise<void>;
    findTemplate(name: string): Promise<unknown>;
}
export {};
//# sourceMappingURL=Mailer.d.ts.map