import type { ContractSchemaNode } from './contract-schema-types.mts'; import type { OpenApiSchema } from './openapi-types.mts'; export type ComponentRegistry = { refName: (rawName: string) => string; register: (source: string, definitions: Record) => void; schemas: () => Record; }; export declare function sanitizeComponentName(rawName: string): string; export declare function createComponentRegistry(): ComponentRegistry;