export type Json = null | boolean | number | string | Json[] | { [key: string]: Json; }; export type Fields = ReadonlyMap; export declare const readObject: (input: Uint8Array | string) => Fields | null; export declare const readValue: (input: Uint8Array | string, depth: number) => Json | undefined; export declare const writeValue: (value: unknown, depth: number) => string | undefined; export declare const isCount: (literal: string) => boolean;