// Copyright 2024-2026 Tymofii Pidlisnyi. Apache-2.0 license. See LICENSE.
// ══════════════════════════════════════════════════════════════════
// CPA v0.1: public surface
// ══════════════════════════════════════════════════════════════════
// Context Provenance Attestation: the general partitioned-Merkle
// context-basis commitment. See TREE-SHAPE.md for the frozen tree shape.
// ══════════════════════════════════════════════════════════════════
// Types and the channel constant.
export { CHANNEL_ORDER, } from './types.js';
// Producer + content address + mutual-binding helpers.
export { buildCPA, computeCpaRef, carryCpaRef, bindCpaRefToReceipt, } from './cpa.js';
// Verifier (offline, fail-closed).
export { verifyCPA, } from './verify.js';
// Merkle helpers and domain-tag constants (needed by tests and tooling).
export { LEAF_TAG, NODE_TAG, SIGN_TAG, leafHash, nodeHash, leafPreimage, buildPartitionRoot, buildPartitionRootBytes, buildInclusionProof, verifyInclusionProof, buildTopRoot, buildTopRootBytes, emptyTreeRoot, bytesToHex, hexToBytes, } from './merkle.js';
//# sourceMappingURL=index.js.map