export type Mutable = { -readonly [P in keyof T]: T[P]; }; export declare function assert(condition: any, message?: string): asserts condition; export declare function assertFalse(message?: string): never; export declare function assertExists(value: T | null | undefined, message?: string): T; export declare function assertNever(x: never): never; export declare function assertAsSingleton(arr: readonly T[]): [T]; export declare function asMutable(obj: T): Mutable; type SimpleJSONComponent = string | number | boolean | SimpleJSONComponent[] | { [key: string]: SimpleJSONComponent; }; export type SimpleJSON = { [key: string]: SimpleJSONComponent; }; export {};