/** * Detects if the user is on macOS/iOS */ export declare function isMac(): boolean; export interface ShortcutDescriptor { key: string; ctrlKey?: boolean; shiftKey?: boolean; altKey?: boolean; } /** * Formats a keyboard shortcut for display based on the user's platform. * * @param shortcut - Object describing the shortcut * @returns Formatted shortcut string (e.g., "⌘B" on Mac, "Ctrl+B" on Windows) * * @example * formatShortcut({ ctrlKey: true, key: "B" }) // "⌘B" on Mac, "Ctrl+B" on Windows * formatShortcut({ ctrlKey: true, shiftKey: true, key: "S" }) // "⌘⇧S" on Mac, "Ctrl+Shift+S" on Windows */ export declare function formatShortcut(shortcut: ShortcutDescriptor): string;