import { t as Config$1 } from "./schema-BTGYn8_X.mjs"; import { Context } from "@deepseek-ai/cordis"; //#region src/app/host/pi-tui-host-runtime.d.ts /** Stable Cordis plugin name (the Loader row id in the Host-only overlay). */ declare const name = "pi-tui-host-runtime"; /** The legacy Split Host TUI settings schema. It is kept ONLY for installed * profile compatibility and as a migration source: the runtime reads the * canonical `piTuiPreferences` service, and this row's auto-generated page is * hidden so users cannot edit a namespace that no longer drives behavior. */ declare const Config: import("@deepseek-ai/schemastery").default; /** * Explicit Host dependencies: the private Typert registry plus the two live * Host facts the business rows resolve per call. `tuiStartup` remains a Loader * row gate (see the Host-only overlay), not a plugin inject. The Web access row * resolves the Host's OWN Loader through the service on every call, so this * published row contract does not change: this row IS a Loader row, and a Host * without a Loader fails closed (`unavailable`) instead of pending forever. */ declare const inject: string[]; /** Data-free readiness gate published after the whole built-in runtime is live. */ declare const PI_TUI_HOST_READY_SERVICE = "piTuiHostReady"; /** * Mount the built-in PiTui Host Runtime on the launching Host Context. * * Startup order is fixed: register the package's ONE contribution, mount every * private business service in order, verify ALL live bindings, then publish the * readiness gate. * Every child fiber is recorded BEFORE it is awaited; a partial rejection * disposes the recorded children in reverse order (contribution last) while * keeping the original error primary and attaching cleanup failures to its * cause chain. */ declare function apply(ctx: Context, _config: Config$1): Promise; //#endregion export { Config, PI_TUI_HOST_READY_SERVICE, apply, inject, name };