/** * Validation shared by BotConfig loading and worker launch for the experimental * "attach a Codex TUI to an already-running App Server" mode. * * The endpoint is intentionally local-only. A BotMux configuration must never * turn a chat message into a client of an arbitrary network-hosted app-server: * credentials, query/hash components, and non-loopback WebSocket hosts are all * rejected. Unix sockets are the normal production route for a Codex App * Server on the same development machine. */ export interface ExistingAppServerConfig { endpoint: string; } /** * Return a canonical, safe-to-pass endpoint string or throw a configuration * error. The caller deliberately does not probe filesystem/socket liveness: * the Codex App may reconnect after BotMux has loaded config, and liveness is a * launch-time concern rather than a configuration-time one. */ export declare function normalizeExistingAppServerEndpoint(raw: unknown, label?: string): string; export declare function normalizeExistingAppServerConfig(raw: unknown, label?: string): ExistingAppServerConfig | undefined; //# sourceMappingURL=existing-app-server.d.ts.map