UNPKG

@logic-pad/core

Version:
15 lines (14 loc) 531 B
import CompressorBase from './compressorBase.js'; /** * The master compressor for compressing and decompressing strings. * * It compares the output of multiple compressors and selects the one with the smallest size (slow), * and selects the correct decompressor when decompressing. */ declare class MasterCompressor extends CompressorBase { get id(): string; compress(input: string): Promise<string>; decompress(input: string): Promise<string>; } declare const Compressor: MasterCompressor; export { Compressor };