interface Q4_0BlockInspection { readonly index: number; readonly scale: number; readonly frequencies: readonly number[]; readonly saturation: number; readonly zeroCodeFrequency: number; } interface Q4_0QuantizationInspection { readonly dtype: 'Q4_0'; readonly blockBytes: 18; readonly valuesPerBlock: 32; readonly blockCount: number; /** Inspect one block on demand. Returns null when index is out of range. * Lazy because a large tensor has hundreds of thousands of blocks and the * UI only ever displays one at a time. */ readonly blockAt: (index: number) => Q4_0BlockInspection | null; readonly frequencies: readonly number[]; readonly trailingBytes: number; } type QuantizationInspection = Q4_0QuantizationInspection; declare function inspectWeightQuantization(bytes: Uint8Array, dtype: string): QuantizationInspection | null; export { type Q4_0BlockInspection, type Q4_0QuantizationInspection, type QuantizationInspection, inspectWeightQuantization };