/** * TUI 交互式向导 * * 设计要点: * - 与 web 端共用同一份 ConfigStore(SQLite 的 settings 表 id=1) * - 语言偏好存于 admin_meta.cli_lang * - 离线场景:不依赖 admin server / opencode 是否在跑,纯本地 DB 操作 * - 退出方式:用户选择"启动服务"返回 { startService: true },否则 { startService: false } * 外层 CLI 入口据此决定是否调用 startBridge() */ export declare function hasAnyPlatformConfigured(): boolean; export interface WizardResult { /** 是否启动桥接服务 */ startService: boolean; /** 是否在 TUI 中已启动 web 管理面板(启动后由调用方决定保留/复用) */ webStartedInWizard: boolean; } export interface RunWizardOptions { /** init 模式:跳过 first-run 探测、固定进入完整向导 */ force?: boolean; } export declare function runWizard(opts?: RunWizardOptions): Promise; //# sourceMappingURL=tui-wizard.d.ts.map