import { OperatingSystem } from "./types"; interface NavigatorUAData { platform?: string; } declare global { interface Navigator { userAgentData?: NavigatorUAData; } } export declare const getOS: () => OperatingSystem; /** * Transforms a key label to its platform-specific representation. * * @param key - The key to transform (e.g., "cmd", "ctrl", "shift") * @param os - The target operating system * @returns The platform-appropriate key label */ export declare const transformKey: (key: string, os: OperatingSystem) => string; /** * Transforms an array of keys to their platform-specific representations. * * @param keys - Array of key labels * @param os - The target operating system * @returns Array of platform-appropriate key labels * * @example * transformKeys(["cmd", "shift", "P"], "mac") // ["⌘", "⇧", "P"] * transformKeys(["cmd", "shift", "P"], "windows") // ["Ctrl", "Shift", "P"] */ export declare const transformKeys: (keys: string[], os: OperatingSystem) => string[]; export {};