export type EnhanceProvider = | "anthropic" | "gemini" | "openai" | "ollama" | "claude-cli" | "gemini-cli" | "codex-cli" | "custom-cli"; export interface EnhanceProfile { name: string; provider: EnhanceProvider; model: string; base_url: string; api_key_env: string; cli_command: string; instructions: string; } export interface EnhanceSettings { enabled: boolean; active_profile: string; profiles: EnhanceProfile[]; } export interface Settings { hotkey: string; activation: "toggle" | "hold"; injection_mode: "paste" | "type"; restore_clipboard: boolean; dictation_model: string; language: string; enhance: EnhanceSettings; } export interface ModelInfo { id: string; label: string; filename: string; size_mb: number; multilingual: boolean; description: string; installed: boolean; } export interface DownloadProgress { id: string; downloaded: number; total: number; done: boolean; } export interface TranscriptPayload { raw: string; text: string; enhanced: boolean; } export type RecordingState = "idle" | "recording" | "processing"; export interface EnvironmentInfo { wayland: boolean; compositor: string; exe: string; }