/** * Cell Metadata Schema * * Defines which cell fields agents can modify and their types. * Must match lib/cellMetadata.ts on the frontend. * * Shared between: * - UI handler (useOperationHandler.ts) * - Headless handler (headless-handler.ts) * - Operation router validation */ export interface MetadataFieldSchema { type: 'string' | 'number' | 'boolean' | 'enum'; values?: string[]; agentMutable: boolean; default?: unknown; description?: string; } export declare const CELL_METADATA_SCHEMA: Record; export interface ValidationResult { valid: boolean; error?: string; } /** * Validate a metadata value against the schema. */ export declare function validateMetadataValue(key: string, value: unknown): ValidationResult;