/**
 * The swarm postbox — public surface.
 *
 * A {@link Channel} is the swarm's mailbox: one shared, append-only transcript
 * of {@link Envelope}s with a per-reader cursor for incremental, non-destructive
 * delivery. Built strictly on the kernel ({@link import("../kernel").JsonlLog}
 * for the transcript, {@link import("../kernel").JsonCell} for each cursor) — it
 * owns no locking or coercion of its own.
 *
 * Envelope wire format lives in {@link import("./codecs")}: a *table* of
 * per-`type` zod codecs that {@link encode}/{@link decode} dispatch through,
 * with no `if`/`switch` ladder.
 */
export { Channel } from "./channel";
export { encode, decode, ENVELOPE_SCHEMA, ENVELOPE_TYPES, } from "./codecs";
export type { Envelope, EnvelopeType, PayloadOf } from "./codecs";
