import type { EmitterOutput, Placeholder } from "@typespec/asset-emitter"; import { ObjectBuilder } from "@typespec/asset-emitter"; import type { Enum, IntrinsicScalarName, IntrinsicType, Model, ModelProperty, Scalar, Tuple, Union } from "@typespec/compiler"; import type { CreateSchemaEmitter } from "./openapi-spec-mappings.js"; import { OpenAPI3SchemaEmitterBase } from "./schema-emitter.js"; import type { OpenAPISchema3_1 } from "./types.js"; export declare const createSchemaEmitter3_1: CreateSchemaEmitter; /** * OpenAPI 3.1 schema emitter. Deals with emitting content of `components/schemas` section. */ export declare class OpenAPI31SchemaEmitter extends OpenAPI3SchemaEmitterBase { #private; applyCustomConstraints(type: Scalar | Model | ModelProperty | Union | Enum, target: ObjectBuilder, refSchema?: OpenAPISchema3_1): void; applyEncoding(typespecType: Scalar | ModelProperty, target: OpenAPISchema3_1 | Placeholder): OpenAPISchema3_1; applyModelIndexer(schema: ObjectBuilder, model: Model): void; getRawBinarySchema(): OpenAPISchema3_1; getSchemaForStdScalars(scalar: Scalar & { name: IntrinsicScalarName; }): OpenAPISchema3_1; enumSchema(en: Enum): OpenAPISchema3_1; protected combineRefWithConstraints(refSchema: any, constraints: Partial): any; unionSchema(union: Union): ObjectBuilder; intrinsic(intrinsic: IntrinsicType, name: string): EmitterOutput; tupleLiteral(tuple: Tuple): EmitterOutput>; tupleLiteralValues(tuple: Tuple): EmitterOutput>; } //# sourceMappingURL=schema-emitter-3-1.d.ts.map