import { TSchema } from '@sinclair/typebox'; import type { CustomComponent } from './createComponent'; /** * Generate a JSON schema for plugin-enhanced documents at RUNTIME. * * Iterates each component's versions map to produce per-version * CustomComponentInfo entries for the unified schema generator. */ export declare function generatePluginDocumentSchema(customComponents: CustomComponent[], includeStandardComponents?: boolean): TSchema; /** * Create a union type from an array of schemas */ export declare function createUnionSchema(schemas: TSchema[]): TSchema; /** * Export a plugin-enhanced JSON schema to a file at RUNTIME */ export declare function exportPluginSchema(customComponents: CustomComponent[], outputPath: string, options?: { includeStandardComponents?: boolean; prettyPrint?: boolean; }): Promise; /** * Generate schemas for individual custom components (version-aware). * Produces per-version schemas keyed as `name` or `name@version`. */ export declare function generateComponentSchemas(customComponents: CustomComponent[]): Record; /** * Merge custom component schemas with standard schemas */ export declare function mergeSchemas(customComponents: CustomComponent[], standardSchemas?: Record): Record; //# sourceMappingURL=schema.d.ts.map