import { Tuple, Value } from "../storage/types"; 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: ("string" | "number" | "boolean" | "object" | "null" | "array")[]; export declare function encodeValue(value: Value): string; export declare function encodingTypeOf(value: Value): EncodingType; export declare function decodeValue(str: string): Value; export declare function encodeTuple(tuple: Tuple): string; export declare function decodeTuple(str: string): Tuple; //# sourceMappingURL=../../src/helpers/codec.d.ts.map