import type { EventDispatcher } from '../events/event-dispatcher.js'; import type { Catalog } from '../catalog/catalog.js'; import type { NodeCodeFactory } from '../node-code/node-code-factory.js'; import type { Context } from '../context/context.js'; import type { Process } from '../process/process.js'; /** * Core execution loop. * * Resolves NodeCode from CatalogNode references, layers configuration * (NodeCode defaults → CatalogNode config → ProcessNode config), * and runs the directed node graph sequentially. */ export declare class ProcessEngine { private eventDispatcher; private catalog; private nodeCodeFactory; private cachedNodeCodes; constructor(eventDispatcher: EventDispatcher, catalog: Catalog, nodeCodeFactory: NodeCodeFactory); /** * Clear the node code cache. Call before re-running a process with the same * node keys but different catalog_node_key mappings (e.g. chat iterations). */ clearCache(): void; process(processDefn: Process, context: Context, startNodeKey?: string): Promise; private getConfiguredNodeCode; private processNode; } //# sourceMappingURL=process-engine.d.ts.map