import type { ManifestAttribute, ManifestDocument } from "./migration-types.js"; import type { EndpointOpenApiDocumentOptions, JsonSchemaDocument, JsonSchemaObject, OpenApiDocument, OpenApiInfo } from "./schema-core.js"; /** * Converts one manifest attribute definition into a JSON Schema fragment. * * @param attribute Manifest-derived attribute metadata. * @returns A JSON-compatible schema fragment for the attribute. */ export declare function manifestAttributeToJsonSchema(attribute: ManifestAttribute): JsonSchemaObject; /** * Builds a full JSON Schema document from a Typia manifest document. * * @param doc Manifest-derived attribute document. * @returns A draft 2020-12 JSON Schema document for the manifest root object. */ export declare function manifestToJsonSchema(doc: ManifestDocument): JsonSchemaDocument; /** * Wraps a manifest-derived JSON Schema document in a minimal OpenAPI 3.1 shell. * * @param doc Manifest-derived attribute document. * @param info Optional OpenAPI document metadata. * @returns An OpenAPI document containing the schema as a single component. */ export declare function manifestToOpenApi(doc: ManifestDocument, info?: OpenApiInfo): OpenApiDocument; /** * Build a complete OpenAPI 3.1 document from contract manifests and route metadata. * * @param options Aggregate contract and endpoint definitions for the REST surface. * @returns A JSON-compatible OpenAPI document with paths, components, and auth metadata. */ export declare function buildEndpointOpenApiDocument(options: EndpointOpenApiDocumentOptions): OpenApiDocument;