import type { Process } from './process.js'; /** * Tool metadata that can be embedded in a process JSON to auto-register * it as a service tool. */ export interface ProcessToolMeta { type: 'deterministic' | 'ai'; capability?: string; input_schema?: { type: string; properties?: Record; }>; required?: string[]; }; canvas_type?: string; } /** * JSON schema for a process configuration file. */ export interface ProcessConfigJson { schema_version: number; key: string; version?: number; description?: string; tool?: ProcessToolMeta; context: Record; nodes: Array<{ key: string; description?: string; catalog_node_key: string; configuration: Record; edges: Record; }>; } /** * Hydrates a Process from a validated JSON configuration. */ export declare function hydrateProcess(json: ProcessConfigJson): Process; /** * Convenience: parse a raw JSON string into a Process. */ export declare function hydrateProcessFromString(jsonString: string): Process; //# sourceMappingURL=process-json-hydrator.d.ts.map