declare global { interface BigInt { toJSON(): string; } } export declare type JSONValue = string | number | boolean | JSONObject | JSONArray | JSONReference; export declare type JSONContainer = JSONObject | JSONArray; export interface JSONObject { [x: string]: JSONValue; } export interface JSONReference { $ref: string; } export interface JSONArray extends Array { } export declare function stringListToJson(list: string[]): JSONObject; export declare function resolveReferences(jsonObj: JSONObject): JSONObject;