import type { Category, Mode } from '../config/categories.js'; import type { Intent } from './types.js'; declare const CATEGORIES: Category[]; declare const INTENTS: Intent[]; declare const MODES: Mode[]; export type AnalysisConfidence = 'high' | 'medium' | 'low'; export interface PromptAnalysis { category: Category; intent: Intent; recommendedMode: Mode; confidence: AnalysisConfidence; rationale?: string; source: 'llm' | 'fallback'; } export interface AnalyzerInputs { prompt: string; userCategoryHint?: Category; filePath?: string; fileLanguage?: string; projectRulesExcerpt?: string; frameworks?: string[]; } /** * Replaces the separate detectCategory + resolveIntent pair with a single * LLM call that produces all three signals coherently. Fixes the * "emails → document" mis-route because intent participates in the decision. */ export declare function analyzePrompt(inputs: AnalyzerInputs): Promise; export { INTENTS, CATEGORIES, MODES };