/**
 * 意图路由评分器 — 根据结构化信号和材料打分，确定路由。
 *
 * 不再依赖单条整句正则，而是通过信号提取 → 归一化 → 打分 → 冲突仲裁。
 * 支持乱序表达、路径不在句首、中文标点、换行、多空格。
 */
import type { ArtifactKind } from "../contracts/artifact_contract_registry.js";
import type { MaterialExtractionResult } from "./input_material_extractor.js";
import type { IntentSignals } from "./intent_signal_extractor.js";
export type { IntentRoute, ExecutionShape } from "./route_types.js";
import type { IntentRoute, ExecutionShape } from "./route_types.js";
export interface RouteScore {
    route: IntentRoute;
    execution_shape: ExecutionShape;
    mutation_allowed: boolean;
    confidence: number;
    reason: string;
    evidence: string[];
}
export interface ScoredRouteResult {
    route: IntentRoute;
    execution_shape: ExecutionShape;
    mutation_allowed: boolean;
    confidence: number;
    needs_clarification: boolean;
    route_reason: string;
    signal_evidence: string[];
    skip_reason?: string;
    /** 评分明细 */
    score_breakdown: Array<{
        route: IntentRoute;
        score: number;
        reasons: string[];
    }>;
    /** 输出产物 */
    artifact?: {
        kind: ArtifactKind | "unknown";
        defaultName: string;
        template?: string;
    };
    /** 流水线提示 */
    pipeline_hint?: string;
}
export declare function scoreRoute(intent: string, signals: IntentSignals, materials: MaterialExtractionResult, taskId?: string): ScoredRouteResult;
//# sourceMappingURL=intent_route_scorer.d.ts.map