import type { ToolConfig } from "../config/Config.js"; import type { ProviderConfig } from "../providers/ProviderTypes.js"; import { type PipelinePhase } from "../cognitive/ProviderRouting.js"; import { type PhaseAgentSelection } from "../agents/PhaseAgentSelector.js"; interface ParsedArgs { workspaceRoot?: string; project?: string; command?: string; commandRunId?: string; jobId?: string; runId?: string; taskId?: string; taskKey?: string; agent?: string; agentId?: string; agentSlug?: string; agentLibrarian?: string; agentArchitect?: string; agentBuilder?: string; agentCritic?: string; agentInterpreter?: string; smart?: boolean; deepInvestigationEnabled?: boolean; planHint?: string; provider?: string; model?: string; apiKey?: string; baseUrl?: string; localRunner?: ProviderConfig["localRunner"]; runnerKind?: ProviderConfig["runnerKind"]; authMode?: ProviderConfig["authMode"]; dummyBearerToken?: string; headers?: Record; extraBody?: Record; responseFormatStrategy?: ProviderConfig["responseFormatStrategy"]; healthPath?: string; modelsPath?: string; requireModelInRequest?: boolean; supportsStreaming?: boolean; supportsTools?: boolean; supportsJsonSchema?: boolean; supportsGbnf?: boolean; workflowProfile?: string; taskFile?: string; configPath?: string; docdexBaseUrl?: string; docdexRepoId?: string; docdexRepoRoot?: string; contextMode?: "bundle_text" | "json"; contextMaxFiles?: number; contextMaxTotalBytes?: number; contextTokenBudget?: number; contextFocusMaxBytes?: number; contextPeripheryMaxBytes?: number; contextIncludeRepoMap?: boolean; contextIncludeImpact?: boolean; contextIncludeSnippets?: boolean; contextReadStrategy?: "docdex" | "fs"; contextMaxRefreshes?: number; contextSkeletonize?: boolean; contextRedactSecrets?: boolean; contextIgnoreFilesFrom?: string[]; securityRedactPatterns?: string[]; builderMode?: "tool_calls" | "patch_json" | "freeform"; builderPatchFormat?: "search_replace" | "file_writes"; interpreterProvider?: string; interpreterModel?: string; interpreterFormat?: string; interpreterGrammar?: string; interpreterMaxRetries?: number; interpreterTimeoutMs?: number; streamingFlushMs?: number; costMaxPerRun?: number; costCharPerToken?: number; costPricingOverrides?: string; inlineTask?: string; } export declare const parseArgs: (argv: string[]) => ParsedArgs; export declare const resolveWorkspaceRoot: (cwd: string, explicitRoot?: string) => string; export declare const isToolEnabled: (name: string, tools: ToolConfig) => boolean; export declare const assessPhaseFallbackSuitability: (phase: PipelinePhase, builderMode: "tool_calls" | "patch_json" | "freeform", selection: Pick & { supportsTools?: boolean; }) => { ok: boolean; reason: string; details?: Record; builderMode?: "tool_calls" | "patch_json" | "freeform"; }; export declare class RunCommand { static run(argv: string[]): Promise; } export {}; //# sourceMappingURL=RunCommand.d.ts.map