/** * The OpenAPI document a route's types describe. * * D115 P4 R4a. Two derivations live here: `openApiSchema` is what a value type * is on the wire, and the three `openApiResponse*` functions are what a * handler's *result* is — which is not the same question, because a response * envelope describes the framework and its payload describes the answer. */ import { type ValueType } from "@velarscript/compiler/extension"; import { type OpenApiSchema } from "../contracts.ts"; export declare function openApiResponseSchema(type: ValueType, fieldsOf: (identity: string) => ReadonlyMap | null, seen: ReadonlySet, enumWireValuesOf: (identity: string, name: string) => ReadonlyMap | null): OpenApiSchema; export declare function openApiResponseContentTypes(type: ValueType): readonly string[]; export declare function openApiResponseStatus(type: ValueType): number | null; export declare function openApiSchema(type: ValueType, fieldsOf: (identity: string) => ReadonlyMap | null, seen: ReadonlySet, enumWireValuesOf: (identity: string, name: string) => ReadonlyMap | null): OpenApiSchema; //# sourceMappingURL=openapi.d.ts.map