/** * OS Detection Utility * Detects the operating system and provides platform-specific helpers */ export type Platform = 'mac' | 'win' | 'linux'; /** * Detect the current operating system */ export declare function detectOS(): Platform; /** * Get the home directory for the current user */ export declare function getHomeDir(): string; /** * Get the app data directory based on OS * - macOS: ~/Library/Application Support * - Windows: %APPDATA% * - Linux: ~/.config */ export declare function getAppDataDir(): string; /** * Get the user profile directory (Windows-specific, falls back to home) */ export declare function getUserProfileDir(): string; /** * Check if running as root/admin */ export declare function isElevated(): boolean; /** * Get OS-specific path separator */ export declare function getPathSeparator(): string; /** * Normalize path for current OS */ export declare function normalizePath(path: string): string; /** * Expand ~ to home directory */ export declare function expandHome(path: string): string; /** * Get OS display name */ export declare function getOSDisplayName(): string; //# sourceMappingURL=os.d.ts.map