import Type from './Type'; import Validation, { IdentifierPath } from '../Validation'; import RuntimeTypeErrorItem from '../errorReporting/RuntimeTypeErrorItem'; export default class TypeReference extends Type { typeName: string; readonly type: () => Type; constructor(type: () => Type); resolveType(): Type; errors(validation: Validation, path: IdentifierPath, input: any): Iterable; accepts(input: any): input is T; get acceptsSomeCompositeTypes(): boolean; toString(): string; }