/** * 配置管理模块 */ import { AgentProfileConfig, WebForgeConfig, WorkerConfig } from '../types/index.js'; /** * 加载项目配置 */ export declare function loadConfig(basePath?: string): Promise; /** * 保存项目配置 */ export declare function saveConfig(config: WebForgeConfig, basePath?: string): Promise; /** * 加载 Worker 配置 */ export declare function loadWorkerConfig(role: string, basePath?: string): Promise; /** * 保存 Worker 配置 */ export declare function saveWorkerConfig(role: string, config: WorkerConfig, basePath?: string): Promise; export declare function createDefaultAgentProfileConfig(): AgentProfileConfig; /** * 创建默认配置 */ export declare function createDefaultConfig(projectName: string): WebForgeConfig; /** * 创建默认 Worker 配置 */ export declare function createDefaultWorkerConfig(role: string): WorkerConfig; //# sourceMappingURL=config.d.ts.map