import type { ToolResult } from "../types.js"; /** * List all flow definitions available in the project's `ai-assets` directory. * * Returns a JSON array of summary objects `{ id, name, nodeCount }`. * Returns an empty array when no `ai-assets` root is found. * * @param projectDir - Absolute path to the skaile project root. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function flowList(projectDir: string): Promise; /** * Show the full flow definition (nodes, edges, metadata) for a specific flow. * * @param projectDir - Absolute path to the skaile project root. * @param flowId - Flow ID as returned by {@link flowList}. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function flowShow(projectDir: string, flowId: string): Promise; /** * List all past and active flow run sessions for the workspace. * * Delegates to {@link readAllSessions} (reads `.skaile/sessions/*.json`), * sorted newest-first by `updatedAt`. * * @param projectDir - Absolute path to the skaile project root. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function flowListSessions(projectDir: string): Promise; /** * Get driver metadata for a specific flow run session. * * @param projectDir - Absolute path to the skaile project root. * @param runId - Run ID from {@link flowListSessions}. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function flowGetSession(projectDir: string, runId: string): Promise; /** * Resolve and return the flow definition that was used in a past session. * * Looks up the session by `runId`, reads its `flowId`, then returns the full * flow definition from `ai-assets`. * * @param projectDir - Absolute path to the skaile project root. * @param runId - Run ID from {@link flowListSessions}. * * @docLink packages/workspace-plugin/concepts#tool-delivery */ export declare function flowFindFlowForSession(projectDir: string, runId: string): Promise; //# sourceMappingURL=flows.d.ts.map