UNPKG

packfs-core

Version:

Semantic filesystem operations for LLM agent frameworks with natural language understanding. See LLM_AGENT_GUIDE.md for copy-paste examples.

20 lines 875 B
import { CompressionStrategy, CompressionHints, CompressedChunk } from './CompressionStrategy'; /** * Brotli compression strategy - excellent for text-based files like JavaScript */ export declare class BrotliStrategy extends CompressionStrategy { readonly name = "brotli"; readonly priority: "size"; readonly supportsStreaming = true; private dictionary?; constructor(dictionary?: Buffer); compress(data: Buffer, hints: CompressionHints): Promise<CompressedChunk>; decompress(chunk: CompressedChunk): Promise<Buffer>; createDecompressor(chunk: CompressedChunk): NodeJS.ReadableStream; estimateRatio(_data: Buffer, hints: CompressionHints): number; shouldUse(data: Buffer, hints: CompressionHints): boolean; private getQualityLevel; private isJavaScript; private isTextFile; } //# sourceMappingURL=BrotliStrategy.d.ts.map