/**
 * OpenAPI export utilities.
 *
 * @deprecated Import from @contractspec/lib.contracts-transformers/openapi instead.
 * This file is kept for backwards compatibility.
 */
import type { DocBlock } from './docs/types';
import type { OperationSpecRegistry } from './operations/registry';
export interface OpenApiServer {
    url: string;
    description?: string;
}
export interface OpenApiExportOptions {
    title?: string;
    version?: string;
    description?: string;
    servers?: OpenApiServer[];
}
type OpenApiSchemaObject = Record<string, unknown>;
export interface OpenApiDocument {
    openapi: '3.1.0';
    info: {
        title: string;
        version: string;
        description?: string;
    };
    servers?: OpenApiServer[];
    paths: Record<string, Record<string, unknown>>;
    components: {
        schemas: Record<string, OpenApiSchemaObject>;
    };
}
export declare function openApiForRegistry(registry: OperationSpecRegistry, options?: OpenApiExportOptions): OpenApiDocument;
export declare const tech_contracts_openapi_export_DocBlocks: DocBlock[];
export {};
