/**
 * MessagingChannelPort — SDK v0.16.0 (sprint-615:quick-2)
 *
 * Generic channel abstraction for alerts and messages.
 * HITL (human-in-the-loop approval) is intentionally excluded;
 * that belongs to HITLPort per plan v6 §3.5.
 *
 * @public
 */
/**
 * Thrown when `target` is empty or structurally invalid for the adapter.
 *
 * @public
 */
export class InvalidTargetError extends Error {
    target;
    constructor(message, target) {
        super(message);
        this.target = target;
        this.name = "InvalidTargetError";
        Object.setPrototypeOf(this, new.target.prototype);
    }
}
//# sourceMappingURL=messaging.js.map