import { S as SendingResponse, a as SendingError } from '../../sending-response.class-jcz9XNg-.js'; import { H as HttpTransporter, a as HttpSuccess, b as HttpFailure } from '../../http.transporter-BEFIRyuY.js'; import { I as IMail } from '../../transporter.class-CL44h5Um.js'; import { d as IAddressable } from '../../IPayload.interface-hep6I5JJ.js'; interface IPostmarkAttachment { ContentTransferEncoding: string; Content: string; Name: string; ContentID: string; } interface IPostmarkBody { From: string; To: string; ReplyTo: string; Subject?: string; TextBody?: string; HtmlBody?: string; TemplateId?: number; TemplateModel?: Record; Cc?: string; Bcc?: string; Attachments?: IPostmarkAttachment[]; } interface IPostmarkError { ErrorCode: number; Message: string; } interface IPostmarkResponse { To: string; SubmittedAt: string; MessageID: string; ErrorCode: number; Message: string; } declare class PostmarkTransporter extends HttpTransporter { build({ ...args }: IMail): IPostmarkBody; address(recipient: string | IAddressable): string; addresses(recipients: Array): string[]; send(body: IPostmarkBody): Promise; response(result: HttpSuccess): SendingResponse; error(result: HttpFailure): SendingError; } export { PostmarkTransporter };