/** * Type representing any valid JSON value. * * @invariant Must be serializable to JSON */ export type JSONValue = string | number | boolean | null | readonly JSONValue[] | { readonly [key: string]: JSONValue; }; /** * Type guard: JSON object (non-null, not an array). */ export declare function isJSONObject(value: JSONValue): value is Readonly>; /** * Type guard: string. */ export declare function isString(value: JSONValue): value is string; /** * Type guard: number. */ export declare function isNumber(value: JSONValue): value is number; /** * Type guard: array. */ export declare function isArray(value: JSONValue): value is readonly JSONValue[]; //# sourceMappingURL=json.d.ts.map