import { a as SendingError, S as SendingResponse } from './sending-response.class-jcz9XNg-.js'; import { e as IPayload, d as IAddressable, I as ITransporterConfiguration } from './IPayload.interface-hep6I5JJ.js'; declare const RENDER_ENGINE: { readonly provider: "provider"; readonly cliam: "cliam"; readonly self: "self"; }; type RenderEngine = typeof RENDER_ENGINE[keyof typeof RENDER_ENGINE]; type ResolvedMeta = Omit & { from: IAddressable; replyTo: IAddressable; }; interface IMail { payload: Omit & { meta: ResolvedMeta; }; templateId: string | null; renderEngine: RenderEngine; body: { text: string; html: string; } | null; } declare abstract class Transporter { configuration: ITransporterConfiguration; constructor(configuration: ITransporterConfiguration); abstract error(err: unknown): SendingError; abstract response(res: unknown): SendingResponse; abstract build({ ...args }: IMail): TBody; abstract send(body: TBody): Promise; } export { type IMail as I, Transporter as T };