export type JSONValue = string | number | boolean | null | JSONObject | JSONValue[]; export interface JSONObject { [property: string]: JSONValue; } export interface JSONSerializable> | Array>> { toJSON(key: string): T; }