/** * Environment Detection Utilities * * Detects headless environments (SSH, Docker, no display) to enable * graceful degradation of features that require a graphical desktop. * * @since v2.3.11 */ /** * Detect if running in a headless environment (no graphical desktop). * * Checks for: * - SSH session (SSH_CLIENT or SSH_TTY set) * - Docker container (/.dockerenv exists or `container` env var set) * - Linux without display server (no DISPLAY or WAYLAND_DISPLAY) */ export declare function isHeadless(): boolean; /** * Check if we can reasonably expect `xdg-open` / `open` to work. * Returns false in headless environments where browser opening will fail. */ export declare function canOpenBrowser(): boolean; //# sourceMappingURL=environment.d.ts.map