/**
 * Type definitions for the Intelligent Model Selection system
 *
 * This system automatically routes work to the optimal AI model based on:
 * - Agent preferences (planning vs execution agents)
 * - Phase detection (planning vs execution vs review)
 * - User overrides (manual model selection)
 *
 * Strategy (Opus 4.6 Default):
 * - Haiku: Simple/cheap operations, translations, mechanical tasks
 * - Opus: Default for complex work, analysis, architecture, planning
 */
/**
 * Available AI models
 * - opus: Latest Opus 4.6 (default - planning, analysis, complex work)
 * - haiku: Latest Haiku 4.5 (simple tasks, translations, cheap ops)
 * - sonnet: Sonnet 4.6 (balanced speed and quality)
 * - auto: System decides based on context
 */
export type Model = 'sonnet' | 'haiku' | 'opus' | 'auto';
/**
 * Work phases for phase detection
 */
export type Phase = 'planning' | 'execution' | 'review';
/**
 * Cost profiles for agents
 */
export type CostProfile = 'planning' | 'execution' | 'hybrid';
/**
 * Fallback behavior when preferred model fails
 */
export type FallbackBehavior = 'strict' | 'flexible' | 'auto';
/**
 * Agent model preference loaded from AGENT.md frontmatter
 */
export interface AgentModelPreference {
    agent: string;
    preference: Model;
    profile: CostProfile;
    fallback: FallbackBehavior;
}
/**
 * Model selection decision with reasoning
 */
export interface ModelSelectionDecision {
    model: Exclude<Model, 'auto'>;
    reason: 'user_override' | 'agent_preference' | 'phase_detection' | 'low_confidence_default' | 'cost_policy' | 'fallback';
    confidence?: number;
    reasoning: string;
    alternatives?: Array<{
        model: Model;
        score: number;
    }>;
}
//# sourceMappingURL=model-selection.d.ts.map