import Type from './Type'; import Validation, { IdentifierPath } from '../Validation'; import RuntimeTypeErrorItem from '../errorReporting/RuntimeTypeErrorItem'; export default class RecordType extends Type> { typeName: string; readonly key: Type; readonly value: Type; constructor(key: Type, value: Type); errors(validation: Validation, path: IdentifierPath, input: any): Iterable; accepts(input: any): input is Record; get acceptsSomeCompositeTypes(): boolean; toString(options?: { formatForMustBe?: boolean; }): string; }