/** Godot editor_data 根(Windows: %APPDATA%/Godot;macOS: ~/Library/Application Support/Godot;Linux: ~/.local/share/godot)。 */ export declare function godotDataDir(): string; /** export_templates/.stable 目录(ver 形如 "4.7.2.stable",detectGodotVersion 输出)。 */ export declare function templatesDirFor(version: string): string; /** Web templates 就绪判定:Godot ≤4.5 为裸 web_release.wasm;4.6+ 为 web_release.zip——两者任一。 */ export declare function isWebTemplatesInstalled(version: string): boolean; /** 版本串 "4.7.2.stable" → release tag "4.7.2-stable" → 资产名模板。 */ export declare function exportTemplatesAssetTemplate(version: string): string; /** * 安装 export templates:下载 tpz(SHA512 同源校验)→ 临时解压 → 原子移入 * export_templates/.stable/ → 机器审计。已装则幂等跳过。 */ export declare function installExportTemplates(opts: { version: string; confirm: () => Promise; onProgress?: (msg: string) => void; }): Promise; /** 最小 Web export preset(Godot 4 标准形态;项目已有 presets 则不覆盖)。 */ export declare function ensureWebPreset(projectPath: string): boolean; /** headless 导出(spec B-2 处置:官方支持路径,绕开 editor stub)。成功返回 build/web 目录。 */ export declare function exportWeb(projectPath: string, godotPath: string, onProgress?: (msg: string) => void): Promise;