/** * Best-effort URL opener. Never throws — if the platform launcher isn't * available (headless box, missing xdg-utils, etc.) we just log the URL. * * Implemented inline rather than pulling in the `open` npm dep so the * installer keeps its dependency tree small. */ export interface OpenBrowserResult { attempted: boolean; spawned: boolean; /** Set when the spawn attempt errored synchronously. */ error?: string; } export declare function openBrowser(url: string, platform?: NodeJS.Platform): OpenBrowserResult;