/**
 * src/agent/router.ts
 * موجه النوايا — يصنف الرسائل الواردة باستخدام NVIDIA NIM (Qwen 2.5)
 * Ultra-fast intent classification to route to the right model tier
 */
import { z } from 'zod';
export declare const INTENTS: readonly ["greeting", "product_inquiry", "pricing", "booking", "complaint", "voice_note", "image", "document", "complex_question", "follow_up", "off_topic", "escalate_to_human"];
export type Intent = (typeof INTENTS)[number];
export type ModelTier = 'flash' | 'brain' | 'reasoning';
export declare const routerResultSchema: z.ZodObject<{
    intent: z.ZodEnum<{
        document: "document";
        product_inquiry: "product_inquiry";
        booking: "booking";
        pricing: "pricing";
        image: "image";
        greeting: "greeting";
        complaint: "complaint";
        voice_note: "voice_note";
        complex_question: "complex_question";
        follow_up: "follow_up";
        off_topic: "off_topic";
        escalate_to_human: "escalate_to_human";
    }>;
    confidence: z.ZodNumber;
    suggestedTier: z.ZodEnum<{
        brain: "brain";
        flash: "flash";
        reasoning: "reasoning";
    }>;
}, z.core.$strip>;
export type RouterResult = z.infer<typeof routerResultSchema>;
/**
 * تصنيف نية الرسالة الواردة
 * Uses NVIDIA NIM (Qwen 2.5) for fast, accurate classification
 */
export declare function classifyIntent(messageText: string, context?: {
    hasMedia?: boolean;
    mediaType?: string;
    recentMessages?: string[];
}): Promise<RouterResult>;
//# sourceMappingURL=router.d.ts.map