/** * Whether `url` is something we are willing to hand to the desktop. * * Exported for the same reason it exists: the check has to be identical * everywhere, and a second hand-written copy of it is how an allowlist stops * being one. */ export declare function isOpenableUrl(url: string): boolean; /** * Open a URL in the desktop's default handler. * * No shell, anywhere. The URL comes from a line of the transcript, which is * text a model wrote, and `exec("open " + url)` hands that to `sh` — a URL with * a quote and a semicolon in it would be a command. Every platform gets the * argument as an argument. Windows is the awkward one: `start` is a `cmd` * builtin rather than a program, and its first quoted argument is the window * title, which is why the empty string is there. * * Detached and with stdio ignored: the handler is a GUI program that outlives * this process, and a live pipe to it would hold the TUI's terminal. */ export declare function openUrl(url: string): void; //# sourceMappingURL=open-url.d.ts.map