import type { TriageKind, TriageRequestInput, TriageResult } from '../../types/triagier.js';
interface HeuristicResult {
    kind: TriageKind;
    confidence: number;
    rationale: string;
}
/**
 * Rule-based classifier using simple regex heuristics.
 * Provides a fast, free, deterministic fallback when Haiku is unavailable.
 *
 * Rules (first match wins):
 *   "what if" / "someday" / "imagine"       → idea
 *   "fix typo" / "rename" / "typo"          → quick-fix
 *   "bug" / "error" / "crash" / "broken"    → bug-spec
 *   "add" / "implement" / "integrate" / ... → feature-spec
 *   "epic" / "platform" / "migrate"         → epic
 *   (default)                               → feature-spec
 */
export declare function heuristicClassify(description: string): HeuristicResult;
/**
 * Classify the intent of a user request into a TriageKind.
 * Wraps the LLM call (or heuristic) in a cost guard (5s wall-clock).
 * On guard trip, returns a safe fallback (feature-spec, confidence 0.5, rationale GUARD_FALLBACK).
 */
export declare function classifyIntent(input: TriageRequestInput): Promise<TriageResult>;
export {};
//# sourceMappingURL=classifier.d.ts.map