/**
 * intent_expander — uncertainty triggers and circuit breaker.
 *
 * The uncertainty protocol identifies risky patterns in intent text and
 * generates decision triggers. The circuit breaker evaluates overall
 * confidence and can produce a brainstorm output when confidence is low.
 */
import type { ClassifyResult, KnowledgeEntry, UncertaintyTrigger } from "../../../types/index.js";
import type { CircuitBreakerResult } from "./types.js";
export declare const UNCERTAINTY_PATTERNS: Array<{
    pattern: RegExp;
    trigger_type: string;
    description: string;
    options: Array<{
        label: string;
        tradeoff: string;
    }>;
    recommendation: string;
}>;
export declare function buildUncertaintyTriggers(classification: ClassifyResult, intent: string): UncertaintyTrigger[];
export declare const CONFIDENCE_THRESHOLD = 0.95;
/**
 * 意图熔断器 — 评估意图理解置信度，低于阈值时触发熔断并生成头脑风暴辅助决策。
 * @param params - 熔断器参数，包含意图、分类结果、匹配知识条目和降级标记
 * @returns 熔断结果，包含是否触发、置信度、原因和头脑风暴输出
 */
export declare function checkCircuitBreaker(params: {
    intent: string;
    classification: ClassifyResult;
    matchedEntries: KnowledgeEntry[];
    degraded: boolean;
}): CircuitBreakerResult;
//# sourceMappingURL=uncertainty_circuit.d.ts.map