export declare const getHostUrl: (webPort: number) => string; /** * Build a URL for opening the local web UI. * * The web UI reads world configuration from server-side environment variables. * Query params are only used for deep-linking to specific resources (resource/id, runId, etc.) */ export declare function buildWebUIUrl(hostUrl: string, resource: string, id: string | undefined, flags: Record): string; /** * Launch the web UI with the specified configuration. * This starts the server (if not running), opens the browser, then keeps the server running. * * World configuration is passed to the web server via environment variables. * The web UI reads these from process.env on the server side, not from query params. */ export declare function launchWebUI(resource: string, id: string | undefined, flags: Record, _cliVersion: string): Promise; /** * Build the deep-link URL for a resource without any side effects (no server, * no browser). Picks the Vercel dashboard for a Vercel backend (unless * `--localUi`), otherwise the local web UI deep link. * * Assumes env vars have already been resolved (e.g. via `setupCliWorld`). */ export declare function buildDeepLinkUrl(resource: string, id: string | undefined, flags: Record): string; /** * Resolve and print a shareable deep-link URL to stdout, then return, without * opening a browser or starting the local web server. Intended for scripting * and agents that need the link rather than a rendered dashboard. * * Human-readable chatter (the startup box, info/debug logs) is routed to stderr * so stdout contains only the URL (or `{ "url": "..." }` with `--json`). */ export declare function printDeepLink(resource: string, id: string | undefined, flags: Record, version: string): Promise; //# sourceMappingURL=web.d.ts.map