import { type EffectiveProfileConfigReader } from './profile-setup.js'; export type ModelApiProtocol = 'openai-completions' | 'openai-responses' | 'anthropic-messages'; export interface ModelSetupArgs { dshHome: string; profile?: string; provider: string; model: string; apiKeyEnv: string; baseURL?: string; api?: ModelApiProtocol; displayName?: string; storeKey: boolean; keyEnvVar: string; enableInProfile?: string; enableOnly?: boolean; defaultIfAbsent?: boolean; agentCommand?: string; help: boolean; } export interface ResolvedModelSetup { dshHome: string; profile?: string; provider: string; model: string; apiKeyEnv: string; kind: 'deepseek' | 'gateway' | 'agent'; custom?: { baseURL: string; api: ModelApiProtocol; displayName?: string; }; agent?: { rowId: string; packageName: string; requiredConfig: { key: string; value: string; jsExpression: boolean; }[]; }; storeKey: boolean; keyEnvVar: string; enableInProfile?: string; enableOnly?: boolean; defaultIfAbsent?: boolean; agentCommand?: string; } export interface ModelSetupResult { settingsPath: string; settingsUpdated: boolean; credentialsPath?: string; profilePatchPath?: string; routeAction?: 'enabled' | 'already-enabled'; agentCommandAction?: 'set' | 'preserved'; profileDefaultAction?: 'set' | 'preserved-settings' | 'preserved-home-patch' | 'preserved-profile-patch'; } export declare const DEEPSEEK_OFFICIAL_ROUTE = "deepseek-official"; export declare const DEFAULT_DEEPSEEK_MODEL = "deepseek-v4-flash"; export declare const DEFAULT_CUSTOM_API: ModelApiProtocol; export declare const DEFAULT_KEY_ENV_VAR = "DSH_ENHANCED_MODEL_API_KEY"; export interface AgentRouteDefinition { model: string; rowId: string; packageName: string; requiredConfig: { key: string; value: string; jsExpression: boolean; }[]; } export declare const AGENT_ROUTES: Readonly>; export declare function deriveApiKeyEnv(provider: string): string; export declare function parseModelSetupArgs(argv: readonly string[]): ModelSetupArgs; export declare function resolveModelSetup(args: ModelSetupArgs): ResolvedModelSetup; export declare function applyModelSetup(resolved: ResolvedModelSetup, readConfig?: EffectiveProfileConfigReader): Promise; export declare function modelSetupUsage(): string; export declare function runModelSetup(argv?: string[], readConfig?: EffectiveProfileConfigReader): Promise; //# sourceMappingURL=model-setup.d.ts.map