export type EntryIntentRationale = { readonly codeNoun: string | null; readonly language: "en" | "ko" | "unknown"; readonly mode: "explicit" | "implicit-attached" | "none"; readonly verb: string | null; }; export type EntryIntentDecision = { readonly detected: boolean; readonly rationale: EntryIntentRationale; }; export type EntryIntentCorpusRecord = { readonly expected: boolean; readonly projectAttached: boolean; readonly prompt: string; }; export type EntryIntentThresholds = { readonly falseNegativeCost: number; readonly falsePositiveCost: number; readonly maximumWeightedErrorRate: number; readonly minimumPrecision: number; readonly minimumRecall: number; }; export type EntryIntentMetrics = { readonly decision: "fail" | "pass"; readonly falseNegatives: number; readonly falsePositives: number; readonly precision: number; readonly recall: number; readonly trueNegatives: number; readonly truePositives: number; readonly weightedErrorRate: number; }; export declare function detectEntryIntent(prompt: string, context: { readonly projectAttached: boolean; }): EntryIntentDecision; export declare function measureEntryIntentCorpus(records: readonly EntryIntentCorpusRecord[], thresholds: EntryIntentThresholds): EntryIntentMetrics;