import { jsonschema } from '../types'; /** * A type that requires it to contain all keys from another type * * Forcing developers to type out a Javascript expression and having TypeScript * check that it is complete is the only way to get a list of keys defined in a type. */ export type TypeKeyWitness = { [K in keyof T]-?: true; }; export declare const STRING_KEY_WITNESS: TypeKeyWitness; export declare const NUMBER_KEY_WITNESS: TypeKeyWitness; export declare const OBJECT_KEY_WITNESS: TypeKeyWitness; export declare const ARRAY_KEY_WITNESS: TypeKeyWitness; export declare const BOOLEAN_KEY_WITNESS: TypeKeyWitness; export declare const NULL_KEY_WITNESS: TypeKeyWitness; export declare function retainRelevantKeywords(x: object, witness: TypeKeyWitness): A; export declare function witnessForType(type: string): TypeKeyWitness;