/** * Wire constants shared by the encode and decode halves of the codec. Kept in ONE module so a magic * byte, a version, a section tag, or a JSON discriminator can never skew between the side that WRITES * it (pack/encode) and the side that SWITCHES on it (unpack/decode) — both read the same source of * truth. Pure data, no logic: importing it from the encode path drags nothing decode-only in. */ /** File signature: `\xF5RUM`. `0xF5` is an always-invalid UTF-8 lead byte → unmistakably binary. */ export declare const MAGIC: Readonly; /** Wire/codec version, independent of the schema `FORMAT_VERSION`. Bumped only on a wire-layout change. * v2: manifest stream records became self-describing frames ([index][status][schemaVersion][len][rest]) * so readers can pull what they know from newer files — see FileFormat.md "Reading across versions". * v3: measured size pass (corpus: −14.5% post-gzip) — a capture-wide tick-scale prelude (the GCD of * all µs ticks, so coarse-clock captures shrink), R values delta-chained per encoder scope, struct * arrays ≥ COLUMNAR_MIN stored column-major with transposed presence, and rects packed as 4 values * with spec-derived edges. See FileFormat.md. */ export declare const CODEC_VERSION = 3; /** Canonical file extension for a packed capture — the ONE place the short name survives; the * package, repo, and format are all named `rumcap`. */ export declare const FILE_EXTENSION = ".rcap"; export declare const SECTION_STRING_TABLE = 1; export declare const SECTION_MANIFEST = 2; export declare const SECTION_STREAM = 3; export declare const SECTION_OVERHEAD = 4; export declare const SECTION_METADATA = 5; /** Struct arrays with at least this many entries encode column-major (see the walkers). A wire framing * rule, not a heuristic: both sides derive row-vs-columnar from the array count alone, so the choice * never needs a flag byte. Below the threshold the transposed presence padding (one byte minimum per * optional field) can exceed the row form on wide structs like ResourceTiming. */ export declare const COLUMNAR_MIN = 8; export declare const JSON_NULL = 0; export declare const JSON_FALSE = 1; export declare const JSON_TRUE = 2; export declare const JSON_NUMBER = 3; export declare const JSON_STRING = 4; export declare const JSON_ARRAY = 5; export declare const JSON_OBJECT = 6; //# sourceMappingURL=constants.d.ts.map