import { ReverseBitWriter } from '../bitstream/reverseBitWriter.js'; export interface LiteralEntropyTable { maxNumBits: number; codeBySymbol: Int32Array; numBitsBySymbol: Uint8Array; } export interface LiteralEntropyContext { prevTable: LiteralEntropyTable | null; } export interface EncodedLiteralsSection { section: Uint8Array; table: LiteralEntropyTable | null; } export declare function encodeLiteralsSection(literals: Uint8Array, context?: LiteralEntropyContext, reverseBitWriter?: ReverseBitWriter): EncodedLiteralsSection | null; export declare function buildGeneralCompressedLiteralsForBench(literals: Uint8Array): Uint8Array | null;