export declare function isBrowserProcess(): boolean; export declare function isServerProcess(): Promise; export declare function chunk(array: T[], size: number): T[][]; /** * Detect if running under Ghostty terminal. */ export declare function isGhostty(): boolean; /** * Whether OSC 8 hyperlinks are supported, using a conservative heuristic. * Allows opt-in via FORCE_OSC8=1 and disables via NO_OSC8=1. */ export declare function supportsOsc8(): boolean; /** * Create an OSC 8 hyperlink sequence. * Format: ESC ] 8 ; params ; url ST text ESC ] 8 ;; ST */ export declare function makeOsc8Link(text: string, url: string): string; declare global { interface Navigator { product: string } }