/** * Task classifier for auto-routing. * * Assesses a task description and returns a structured assessment that drives * model-tier selection and team composition. Phase 1 uses a heuristic approach * (no extra LLM call). Replace with an LLM call if heuristic accuracy is * insufficient for production workloads. */ export interface TaskAssessment { complexity: 'low' | 'medium' | 'high'; parallelizable: boolean; /** Inferred natural sub-units (max 6). */ subtasks: string[]; /** Domain labels inferred from the task description. */ domains: string[]; /** How many parallel workers would help (1 = serial). Capped at 6. */ estimatedWorkers: number; /** Short explanation for transparency / debugging. */ reasoning: string; } /** * Classify a task using heuristics — no LLM call, <1ms, zero API cost. * * Accuracy is sufficient for routing (low/medium/high is a 3-bucket decision). * Replace the body with an LLM call for finer-grained subtask extraction if * accuracy data shows heuristics under-perform. */ export declare function classifyTask(task: string): TaskAssessment; //# sourceMappingURL=classifier.d.ts.map