import { DeepPartial } from "@azure-tools/codegen"; import { Aspect } from "./aspect"; import { Extensions } from "./extensions"; import { SerializationFormats } from "./formats"; import { Languages } from "./languages"; import { AllSchemaTypes } from "./schema-type"; export interface SerializationFormat extends Extensions, Record { } /** The Schema Object allows the definition of input and output data types. */ export interface Schema extends Aspect { /** per-language information for Schema */ language: Languages; /** the schema type */ type: AllSchemaTypes; summary?: string; /** example information */ example?: any; /** If the value isn't sent on the wire, the service will assume this */ defaultValue?: any; /** per-serialization information for this Schema */ serialization?: SerializationFormats; } export declare class Schema extends Aspect implements Schema { type: AllSchemaTypes; constructor(schemaName: string, description: string, type: AllSchemaTypes, initializer?: DeepPartial); } /** schema types that are non-object or complex types */ export interface ValueSchema extends Schema { } /** Schema types that are primitive language values */ export interface PrimitiveSchema extends ValueSchema { } export declare class PrimitiveSchema extends Schema implements PrimitiveSchema { constructor(name: string, description: string, schemaType: AllSchemaTypes, objectInitializer?: DeepPartial); } /** schema types that can be objects */ export interface ComplexSchema extends Schema { } //# sourceMappingURL=schema.d.ts.map