/** * Decodes an unsigned LEB128 (little-endian base-128) varint at * `view[offset]`. Each byte contributes 7 bits of payload; the high bit is * a continuation flag. * * Returns the decoded `value` and the byte position `nextOffset` immediately * after the varint. Throws if the varint: * - reads past the end of `view` (truncated), * - exceeds 2**32-1 (overflow). * * Uses arithmetic (not bitwise) accumulation so values up to 2**32-1 * round-trip correctly — JS bitwise operators coerce to signed int32 and * would turn 0xffffffff into -1. */ export declare function varintDecode(view: DataView, offset: number): { value: number; nextOffset: number; };