/**
 * T2 · MuxFrameType ⇄ byte + flag bit maps (§4.1).
 *
 * The frozen wire codes live in `relay-contracts` (§4.1). P1 imports them read-only and
 * re-exports the local stable surface the mux layer consumes — it NEVER redefines a code.
 */
export {
  MUX_HEADER_BYTES,
  MUX_VERSION,
  MUX_TYPE_TO_CODE as TYPE_TO_BYTE,
  MUX_CODE_TO_TYPE as BYTE_TO_TYPE,
  FLAG_FIN,
  FLAG_RST,
  FLAG_RESERVED_MASK,
  CONNECTION_STREAM_ID,
  UINT32_MAX,
  GOAWAY_REASON_TO_CODE,
  GOAWAY_CODE_TO_REASON,
} from 'relay-contracts'

export type { MuxFrameType, MuxFrameHeader, MuxOpen, GoAwayReason } from 'relay-contracts'
