/**
 * Represents a prepared mail delivery.
 */
export default class MailerDelivery {
    /**
     * Runs constructor.
     * @param {object} args - Constructor args.
     * @param {import("./base.js").VelociousMailerBase} args.mailer - Mailer instance.
     * @param {Promise<?>} args.actionPromise - Action promise.
     * @param {string} args.actionName - Action name.
     */
    constructor({ mailer, actionPromise, actionName }: {
        mailer: import("./base.js").VelociousMailerBase;
        actionPromise: Promise<unknown>;
        actionName: string;
    });
    /**
     * Narrows the runtime value to the documented type.
      @type {import("./base.js").VelociousMailerBase} */
    mailer: import("./base.js").VelociousMailerBase;
    /**
     * Narrows the runtime value to the documented type.
      @type {Promise<?>} */
    actionPromise: Promise<unknown>;
    /**
     * Narrows the runtime value to the documented type.
      @type {string} */
    actionName: string;
    /**
     * Runs build payload.
     * @returns {Promise<import("./index.js").MailerDeliveryPayload>} - Rendered mailer payload.
     */
    buildPayload(): Promise<import("./index.js").MailerDeliveryPayload>;
    /**
     * Runs deliver now.
     * @returns {Promise<import("./index.js").MailerDeliveryPayload | ?>} - Delivered payload or handler result.
     */
    deliverNow(): Promise<import("./index.js").MailerDeliveryPayload | unknown>;
    /**
     * Runs deliver later.
     * @returns {Promise<string | import("./index.js").MailerDeliveryPayload | null>} - Job id or payload in test mode.
     */
    deliverLater(): Promise<string | import("./index.js").MailerDeliveryPayload | null>;
    /**
     * Runs deliver laver.
     * @returns {Promise<string | import("./index.js").MailerDeliveryPayload | null>} - Job id or payload in test mode.
     */
    deliverLaver(): Promise<string | import("./index.js").MailerDeliveryPayload | null>;
}
//# sourceMappingURL=delivery.d.ts.map