import { type ProgramIO } from '../cli-helpers.js'; import { type CodeMode } from '../../services/workflow/workflow-router-service.js'; import type { WorkspaceConfig } from '../../services/config/config-types.js'; export declare function buildDocFetcher(sid: string): import('../../services/context/doc-retriever.js').DocFetcher; export declare function ensureContextForRd(goal: string, project: string, sid: string): Promise; export interface WorkspaceContext { workspace?: WorkspaceConfig; artifactWorkspacePath?: string; sessionId?: string; sessionDir?: string; projectRoot?: string; } export interface TechPlanOptions { goal: string; swarm?: boolean; dryRun?: boolean; json?: boolean; } export interface TechStatusOptions { json?: boolean; } export interface WorkflowRouteOptions { mode: string; goal: string; codeMode?: string; maxWorkers: string; dryRun?: boolean; json?: boolean; } export interface SwarmPlanOptions { skill?: string; goal: string; maxWorkers: string; dryRun?: boolean; json?: boolean; strictStandards?: boolean; } export interface AutonomousResumeInitOptions { goal: string; project: string; apply?: boolean; json?: boolean; } export declare function getCurrentWorkspaceContext(): WorkspaceContext; export declare function getWorkflowWorkspaceContext(): WorkspaceContext; export declare function parseMaxWorkers(io: ProgramIO, command: string, value: string, asJson?: boolean): number | null; export declare function validatePlanningInput(goal: string): void; export declare function parseCodeMode(io: ProgramIO, command: string, mode: string, codeMode: string | undefined, asJson?: boolean): CodeMode | undefined | null;