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