import type { TaskContextManager } from "../task_context.js"; import type { DomainName } from "../types.js"; /** start:创建任务 + 路由 */ export declare function handleStart(taskContext: TaskContextManager, args: Record, projectRoot?: string): Promise<{ result: { success: boolean; error: string; task_id: string; next_step: string; }; } | { result: { success: boolean; error: string; next_step: string; task_id?: undefined; domain?: undefined; required_artifacts?: undefined; }; } | { result: { success: boolean; task_id: string; domain: DomainName; required_artifacts: string[]; next_step: string; error?: undefined; }; }>;