/** * Platform detection helpers for the installer. * * Kept narrow on purpose — `process.platform` everywhere else in the * installer is funneled through here so tests can stub a single point. */ export type SupportedPlatform = 'linux' | 'darwin' | 'win32'; export declare function detectPlatform(p?: NodeJS.Platform): SupportedPlatform; export declare function isPosix(p: SupportedPlatform): boolean;