/** * Describes a single property on a model for GenAI hydration. */ export interface ModelPropertySchema { readonly name: string; readonly type: 'string' | 'number' | 'boolean' | 'array' | 'object'; readonly description: string; readonly required: boolean; readonly default?: unknown; readonly items?: ModelPropertySchema; } /** * Describes a model's schema for GenAI prompt generation and response hydration. * Replaces PHP Reflection + Attributes with an explicit registry. */ export interface ModelSchema { readonly key: string; readonly name: string; readonly description: string; readonly properties: ModelPropertySchema[]; } /** * Registry for model schemas used by GenAI NodeCodes. * Models are registered at bootstrap time and referenced by key. */ export declare class ModelSchemaRegistry { private schemas; register(schema: ModelSchema): void; get(key: string): ModelSchema; has(key: string): boolean; getAll(): ModelSchema[]; /** * Generate a JSON Schema-like prompt description for a model. */ toPromptText(key: string): string; } //# sourceMappingURL=model-schema.d.ts.map