/** Set to any non-empty value to keep `bitmagic dev` from opening a tab. Mirrors BITMAGIC_NO_INLINE_IMAGE. */ export declare const NO_OPEN_ENV = "BITMAGIC_NO_OPEN"; interface Opener { command: string; args: string[]; } /** The platform's "open this with whatever handles it" command, or null on one we do not know. */ export declare function openerFor(platform: string, url: string): Opener | null; export interface OpenBrowserOptions { /** Skip opening — the `--no-open` flag. The env var is checked here too. */ disabled?: boolean; platform?: string; env?: Record; log?: (message: string) => void; } /** * Try to open `url`. Returns whether an opener was actually launched, so the caller can word its * banner honestly rather than claiming a tab that never appeared. */ export declare function openInBrowser(url: string, options?: OpenBrowserOptions): boolean; export {};