/** * CCS Configuration Types * Source: ~/.ccs/config.json */ /** * Profile configuration mapping * Maps profile names to settings.json paths */ export interface ProfilesConfig { [profileName: string]: string; } /** * Main CCS configuration * Located at: ~/.ccs/config.json */ export interface Config { /** Settings-based profiles (GLM, Kimi, etc.) */ profiles: ProfilesConfig; } /** * Environment variables (string-only constraint) * CRITICAL: All values MUST be strings (no booleans/objects) * Reason: PowerShell crashes on non-string values */ export type EnvValue = string; export type EnvVars = Record; /** * Model preset configuration * Stores named model mappings for quick switching */ export interface ModelPreset { name: string; default: string; opus: string; sonnet: string; haiku: string; } /** * Claude CLI settings.json structure * Located at: ~/.claude/settings.json or profile-specific */ export interface Settings { env?: EnvVars; /** Saved model presets for this provider */ presets?: ModelPreset[]; [key: string]: unknown; } /** * Profile metadata (profiles.json) * Located at: ~/.ccs/profiles.json */ export interface ProfileMetadata { type?: string; created: string; last_used?: string | null; } export interface ProfilesRegistry { profiles: Record; } /** * Type guards */ export declare function isConfig(obj: unknown): obj is Config; export declare function isSettings(obj: unknown): obj is Settings; //# sourceMappingURL=config.d.ts.map