/** * Determines if the current platform is macOS * @returns boolean indicating if the current platform is Mac */ declare function isMac(): boolean; declare const MAC_SYMBOLS: Record; /** * Formats a shortcut key based on the platform (Mac or non-Mac) * @param key - The key to format (e.g., "ctrl", "alt", "shift") * @param isMac - Boolean indicating if the platform is Mac * @param capitalize - Whether to capitalize the key (default: true) * @returns Formatted shortcut key symbol */ declare const formatShortcutKey: (key: string, isMac: boolean, capitalize?: boolean) => string; /** * Parses a shortcut key string into an array of formatted key symbols * @param shortcutKeys - The string of shortcut keys (e.g., "ctrl-alt-shift") * @param delimiter - The delimiter used to split the keys (default: "-") * @param capitalize - Whether to capitalize the keys (default: true) * @returns Array of formatted shortcut key symbols */ declare const parseShortcutKeys: (props: { shortcutKeys: string | undefined; delimiter?: string; capitalize?: boolean; }) => string[]; export { MAC_SYMBOLS, formatShortcutKey, isMac, parseShortcutKeys };