/** * Core router — harness-neutral routing logic. * * No SDK imports. Pure functions that assess tasks and produce routing plans. * Adapters handle the actual execution against a specific harness. */ import { type ExecutionPlan, type ModelFamily, type RoutingDecision, SubagentRole, TaskComplexity, TaskIntent } from "./types"; export declare function assessComplexity(text: string): TaskComplexity; export declare function detectIntent(text: string): TaskIntent; export declare function selectRole(complexity: TaskComplexity, intent: TaskIntent): SubagentRole; /** * Produce a routing decision using the given model family. * The model family maps roles to concrete model IDs for the target harness. */ export declare function route(task: string, models: ModelFamily): RoutingDecision; export declare function shouldChain(task: string): boolean; /** * Build an execution plan using the given model family. */ export declare function buildPlan(task: string, models: ModelFamily): ExecutionPlan;