#!/usr/bin/env node import { type AiEnrichmentOrchestrationResult } from "./domains/discovery/ai-enrichment.js"; import { type PreflightFunctionOverrides } from "./lib/preflight.js"; /** * Preflight functions the workspace runner delegates to, exposed through the * shared `PreflightFunctionOverrides` seam so tests can exercise the * prerequisite-diagnostics surface deterministically without depending on * installed host CLIs. */ export type WorkspacePreflightFunctions = PreflightFunctionOverrides; /** * Runs the end-to-end lifecycle for a registered adapter and then applies its * host-specific workspace wire-in. */ export declare function runWorkspace(args: string[], workingDirectory: string, projectRoot: string, preflight?: Partial): Promise; declare function handleAiEnrichmentResult(result: AiEnrichmentOrchestrationResult): number; /** * Exposes workspace internals for focused test coverage. * Not part of the public API. */ export declare const workspaceInternals: { handleAiEnrichmentResult: typeof handleAiEnrichmentResult; }; export {};