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