/** * NEXUS execution flows query. * * Retrieves all detected execution flow (process) nodes for a project from * the nexus.db index. Used by `cleo nexus flows` to list process nodes. * * @task T1473 */ import { type EngineResult } from '../engine-result.js'; /** One detected execution flow (process node). */ export interface NexusFlowEntry { /** Process node ID. */ id: string; /** Human-readable flow label. */ label: string | null; /** Number of steps in this flow. */ stepCount: number; /** Process type (e.g. 'intra_community', 'inter_community'). */ processType: string; /** Entry-point symbol ID for this flow, or null. */ entryPointId: string | null; } /** Result envelope for `getProjectFlows`. */ export interface NexusFlowsResult { /** Project ID used for the query. */ projectId: string; /** Absolute path to the project root. */ repoPath: string; /** Number of flows found. */ count: number; /** Flow entries. */ flows: NexusFlowEntry[]; } /** * Load all detected execution flow nodes for a project from the nexus DB. * * @param projectId - The nexus project ID. * @param repoPath - Absolute path to the project root. * @returns Flows result including flow list and count. * * @example * const result = await getProjectFlows('abc123', '/home/user/myproject'); * console.log(result.flows.length); */ export declare function getProjectFlows(projectId: string, repoPath: string): Promise; export declare function nexusFlows(projectId: string, repoPath: string): Promise>; //# sourceMappingURL=flows.d.ts.map