/** * Configuration data types for YOLO CLI * Stored in ~/.config/yolo-cli/config.json */ export interface Configuration { version: string; apiKey: string; models: ModelConfig[]; defaultModel?: string; preferences: UserPreferences; modelCache?: ModelCache; } export interface ModelConfig { id: string; name: string; enabled: boolean; lastUsed?: string; } export interface UserPreferences { showContextUsage: boolean; historyLimit: number; autoApprove: boolean; theme?: 'auto' | 'light' | 'dark'; } export interface ModelCache { lastUpdated: string; ttl: number; models: Model[]; } export interface Model { id: string; name: string; description?: string; context_length: number; pricing: { prompt: string; completion: string; }; architecture?: { modality: 'text' | 'text+image' | 'text+audio'; tokenizer: string; instruct_type?: string; }; top_provider?: { max_completion_tokens?: number; is_moderated: boolean; }; } export declare const DEFAULT_PREFERENCES: UserPreferences; export declare const MODEL_CACHE_TTL = 86400000; export declare const CURRENT_CONFIG_VERSION = "1.0.0"; //# sourceMappingURL=config.d.ts.map