import { IsArrayOptions } from '../../type'; import { BaseSchema } from './base'; import { type ObjectSchema } from './object'; export type ItemSchema = BaseSchema | ObjectSchema | ArraySchema; export declare class ArraySchema extends BaseSchema { protected itemsProps?: T; protected options: IsArrayOptions; constructor(itemsProps?: T); getItems(): ItemSchema | ItemSchema[] | undefined; minLength(num: number): this; maxLength(num: number): this; unique(unique?: boolean): this; protected checkError(input: { value: any; }, path: string): void; buildSchema(): { type: string | string[]; prefixItems: any[]; items: {}; description: IsArrayOptions; example: any; }; buildSwagger(): Record; clone(): ArraySchema; }