import Type from './Type'; import ObjectTypeProperty from './ObjectTypeProperty'; import Validation, { IdentifierPath } from '../Validation'; import RuntimeTypeErrorItem from '../errorReporting/RuntimeTypeErrorItem'; export default class ObjectType> extends Type { typeName: string; readonly properties: ObjectTypeProperty[]; readonly exact: boolean; constructor(properties?: ObjectTypeProperty[], exact?: boolean); errors(validation: Validation, path: IdentifierPath, input: any): Iterable; accepts(input: any): input is T; get acceptsSomeCompositeTypes(): boolean; toString(options?: { formatForMustBe?: boolean; }): string; }