/** * Triage Policy — PEAT-B1 * * Pure policy evaluation for pre-diagnosis evidence triage. * No I/O, no plugin imports, no side effects. * * This module evaluates a TriageInput against source descriptors * and returns a TriageResult. The plugin adapter calls this function * and uses the result to decide whether to proceed to diagnosis. * * ERR checklist: * - ERR-001: No `as` casts. Input validated with runtime guards. * - ERR-002: Every result carries structured reason + nextAction. * - ERR-005: Input is unknown, validated field-by-field. */ import type { TriageInput, TriageResult } from './types.js'; /** Pain score at or above which a risky action upgrades to admit. */ export declare const RISKY_HIGH_SCORE_THRESHOLD = 70; /** Consecutive failures at or above which a tool failure upgrades to admit. */ export declare const REPEATED_FAILURE_THRESHOLD = 4; /** * Evaluate triage policy for incoming evidence. * * This is the pure policy function. It does not: * - Call PainDiagnosticGate * - Write to event log or trajectory * - Create diagnostic tasks * - Import anything from the plugin layer * * It only reads source descriptors and applies policy rules. * * @param input - Triage input with source kind and context * @returns Structured triage result with decision, reason, and nextAction */ export declare function evaluateTriage(input: TriageInput): TriageResult; //# sourceMappingURL=triage-policy.d.ts.map