export declare const MIN: null; export declare const MAX = true; export type Value = string | number | boolean | null | Array | object; export type Tuple = Value[]; export type EncodingOptions = { delimiter?: string; escape?: string; disallow?: string[]; }; export declare const encodingByte: { readonly null: "b"; readonly object: "c"; readonly array: "d"; readonly number: "e"; readonly string: "f"; readonly boolean: "g"; }; export type EncodingType = keyof typeof encodingByte; export declare const encodingRank: Map<"string" | "number" | "boolean" | "object" | "null" | "array", number>; export declare function encodeValue(value: Value, options?: EncodingOptions): string; export declare function encodingTypeOf(value: Value): EncodingType; export declare function decodeValue(str: string, options?: EncodingOptions): Value; export declare function encodeTuple(tuple: Tuple, options?: EncodingOptions): string; export declare function decodeTuple(str: string, options?: EncodingOptions): Tuple; export declare function compareValue(a: Value, b: Value): number; export declare function compareTuple(a: Tuple, b: Tuple): number; export declare function ValueToString(value: Value): string; export declare function TupleToString(tuple: Tuple): string;