/** * Little-endian bit writer. * Writes bits LSB-first within bytes. */ export declare class BitWriter { private chunks; private currentByte; private bitOffset; /** Write n bits (1-32), LSB first */ writeBits(n: number, bits: number): void; /** Flush remaining bits to output. Call when done writing. */ flush(): Uint8Array; /** Reset writer for reuse */ reset(): void; }