/** * Browser Launch * Issue #1195: Guided quickstart for `npx commandmate` * * Opens the CommandMate URL in the default browser using platform commands * only (no extra dependency). Best effort: any failure is swallowed so the * quickstart flow never breaks because a browser could not be launched. * * Security: the URL is passed as a spawn array argument, so no shell * interpretation occurs (`shell: true` must never be used here). * * @module browser */ /** * Decide whether launching a browser makes sense in the current environment. * * @param env - Environment variables to inspect (defaults to process.env) * @returns false for CI, explicit opt-out, SSH sessions and headless Linux */ export declare function shouldOpenBrowser(env?: NodeJS.ProcessEnv): boolean; /** * Open a URL in the default browser. Never throws. * * @param url - URL to open (must be generated by CommandMate, not user input) */ export declare function openBrowser(url: string): void; //# sourceMappingURL=browser.d.ts.map