import { AgentTransportConfig } from '../config/types';
import { ModelOption } from '@multiplayer-app/ai-agent-types';

export declare const AUTO_MODEL_VALUE = "__auto__";
/**
 * Save the last selected model to localStorage
 */
export declare function saveSelectedModel(transport: AgentTransportConfig, modelId: string): void;
/**
 * Load the last selected model from localStorage
 */
export declare function loadSelectedModel(transport: AgentTransportConfig): string | null;
/**
 * Get available models filtered by transport mode and provider
 */
export declare function getAvailableModels(models: ModelOption[] | undefined, transport: AgentTransportConfig): ModelOption[];
/**
 * Get default model based on transport config and available models
 * Returns undefined for "Auto" selection (which uses backend default)
 */
export declare function getDefaultModel(models: ModelOption[] | undefined, transport: AgentTransportConfig, contextKey?: string): string | undefined;
//# sourceMappingURL=modelSelection.d.ts.map