import { DeepPartial } from "@azure-tools/codegen"; import { Schema, ValueSchema } from "../schema"; import { SchemaType } from "../schema-type"; /** a Schema that represents and array of values */ export interface ArraySchema extends ValueSchema { /** the schema type */ type: SchemaType.Array; /** elementType of the array */ elementType: ElementType; /** maximum number of elements in the array */ maxItems?: number; /** minimum number of elements in the array */ minItems?: number; /** if the elements in the array should be unique */ uniqueItems?: boolean; /** if elements in the array should be nullable */ nullableItems?: boolean; } export declare class ArraySchema extends Schema implements ArraySchema { constructor(name: string, description: string, elementType: ElementType, objectInitializer?: DeepPartial>); } /** a schema that represents a ByteArray value */ export interface ByteArraySchema extends ValueSchema { /** the schema type */ type: SchemaType.ByteArray; /** date-time format */ format: "base64url" | "byte"; } export declare class ByteArraySchema extends Schema implements ByteArraySchema { constructor(name: string, description: string, objectInitializer?: DeepPartial); } //# sourceMappingURL=array.d.ts.map