import { type InitOptions } from '@zhin.js/scaffold-wizard'; export interface ExistingProjectState { /** 从现有配置推断的 InitOptions 默认值 */ options: Partial; /** 现有 plugins 列表(用于 in-place 时保留) */ existingPlugins: string[]; /** 现有 bots 配置(用于 in-place 时保留) */ existingBots: any[]; /** 检测到的配置格式 */ configFormat: 'yaml' | 'json' | 'toml'; /** 配置文件路径 */ configPath: string; } /** * 从现有项目目录读取配置与 .env,返回用于 in-place 的默认选项 */ export declare function readExistingProjectConfig(cwd: string): Promise; //# sourceMappingURL=read-existing.d.ts.map