/** True when two byte spans are equal in length and content. */ export declare function bytesEqual(a: Uint8Array, b: Uint8Array): boolean; /** Concatenate byte arrays. Takes an array rather than rest params so * a large segment list can never overflow the call stack via spread. */ export declare function concatBytes(parts: Uint8Array[]): Uint8Array; /** Join two byte spans — the hot two-operand case of {@link concatBytes}, * fused without the array wrapper for the search's inner fuse loop. */ export declare function concat2(a: Uint8Array, b: Uint8Array): Uint8Array; /** Latin-1 view of a byte span — ONE code unit per byte, so it is injective * and safe as an exact cache key (every byte 0–255 maps to one code unit). * Batched `String.fromCharCode`, chunked to stay within the engine's argument * limit on long spans; the one definition every content-keyed memo uses. * `apply` takes the typed array as its argument list directly — a spread * walks it through the iterator protocol first, ~2.7× slower per short key. */ export declare function latin1(b: Uint8Array): string; /** First index ≥ `from` at which `needle` occurs in `hay`, or -1. A short naive * scan — used only to locate a result span inside a learnt framing form. */ export declare function indexOf(hay: Uint8Array, needle: Uint8Array, from: number): number;