import { CompressorLibrary } from "../types";
type PackedData = {
    flag: number;
    data: string | Buffer;
};
type DecompressedData = string | number | Record<string, unknown> | Buffer;
export default class ValuePacker {
    compressor: CompressorLibrary;
    constructor(compressor: CompressorLibrary);
    pack(value: string | number | Record<string, unknown> | Buffer, compress: boolean): PackedData;
    unpack(packed: PackedData): DecompressedData;
}
export {};
