import { Transporter, SendMailOptions } from "nodemailer";
import { DurableEventData, DurableEventSchedule } from "../data";
export interface EmailOptions extends SendMailOptions {
    schedule?: DurableEventSchedule;
}
export declare function email(options: EmailOptions): Promise<unknown>;
export declare function getNodemailerTransport(): Promise<Transporter<unknown>>;
declare const EMAIL: "email";
type ScheduleEmailEventType = typeof EMAIL;
export interface ScheduledEmailEvent extends DurableEventData {
    type: ScheduleEmailEventType;
    email: SendMailOptions;
}
export declare const removeEmailScheduledFunction: () => void;
export {};
