import type { Process } from './process.js'; /** * A source that provides Process instances. */ export interface ProcessSource { getProcesses(): Process[]; } /** * Aggregates process sources and builds processes by key with caching. */ export declare class ProcessFactory { private sources; private cache; constructor(sources?: ProcessSource[]); build(key: string): Process; /** * Invalidate cached process by key so the next build() re-scans sources. */ invalidate(key: string): void; getAllProcesses(): Process[]; } //# sourceMappingURL=process-factory.d.ts.map