/**
 * Model Selection
 *
 * Handles model reference parsing and provider normalization.
 */
import type { ModelDefinitionConfig, ModelProviderConfig } from '../../config/types.models.js';
export interface ModelRef {
    provider: string;
    model: string;
}
/**
 * Normalize provider ID (handle aliases)
 */
export declare function normalizeProviderId(provider: string): string;
/**
 * Parse a model reference string (e.g., "anthropic/claude-opus-4-6")
 * into provider and model parts.
 */
export declare function parseModelRef(ref: string, defaultProvider?: string): ModelRef | null;
/**
 * Find provider config by normalized provider ID
 */
export declare function findProviderConfig(providers: Record<string, ModelProviderConfig> | undefined, provider: string): ModelProviderConfig | undefined;
/**
 * Find model config within a provider
 */
export declare function findModelConfig(provider: ModelProviderConfig, modelId: string): ModelDefinitionConfig | undefined;
