export interface ProjectInfo { root: string; version: string; installedAI: string[]; } /** * 向上查找项目根目录 * 通过查找 .specify/config.json 来识别项目根目录 */ export declare function findProjectRoot(startDir?: string): Promise; /** * 验证是否是有效的 novel-writer 项目 */ export declare function validateProject(projectPath: string): Promise; /** * 检测项目安装了哪些 AI 配置 */ export declare function detectInstalledAI(projectPath: string): Promise; /** * 获取项目信息 */ export declare function getProjectInfo(projectPath: string): Promise; /** * 确保在有效的项目目录中,否则抛出错误 */ export declare function ensureProjectRoot(): Promise; //# sourceMappingURL=project.d.ts.map