/** * Archive-specific binary utilities. * * For common utilities (concatUint8Arrays), import directly from @stream/shared. */ /** * A reusable empty Uint8Array instance. * * Use this constant instead of creating `new Uint8Array(0)` to avoid * allocating new objects for empty byte arrays. */ export declare const EMPTY_UINT8ARRAY: Uint8Array; /** * Find the first index of `pattern` within `buffer`. * Returns -1 when not found. * * This is optimized for small patterns (1-4 bytes) common in ZIP parsing. */ export declare function indexOfUint8ArrayPattern(buffer: Uint8Array, pattern: Uint8Array, startIndex?: number): number;