import { Config } from '../types'; export declare class ConfigManager { private explicitConfigPath?; constructor(configPath?: string); /** * 获取当前有效的配置文件路径 * 动态获取以确保使用最新的路径配置 */ private getEffectiveConfigPath; /** * 初始化配置文件 */ initialize(): Promise; /** * 读取配置存储 */ private loadConfigStore; /** * 保存配置存储 */ private saveConfigStore; /** * 添加新配置 */ addConfig(name: string, url: string, token: string): Promise; /** * 获取所有配置列表 */ listConfigs(): Promise; /** * 获取指定配置 */ getConfig(name: string): Promise; /** * 删除配置 */ removeConfig(name: string): Promise; /** * 设置当前配置 */ setCurrentConfig(name: string): Promise; /** * 获取当前配置 */ getCurrentConfig(): Promise; /** * 检查配置是否存在 */ configExists(name: string): Promise; /** * 更新配置 */ updateConfig(name: string, updates: Partial>): Promise; /** * 获取配置存储信息 */ getStoreInfo(): Promise<{ totalConfigs: number; currentConfig: string | null; configPath: string; }>; } //# sourceMappingURL=ConfigManager.d.ts.map