/** macOS or iOS. */ export declare function isMac(): boolean; /** A surface binding bare keys reads this first: a `j` in a note is a letter, never "next". */ export declare function isTyping(target: EventTarget | null): boolean; export interface ShortcutDescriptor { key: string; ctrlKey?: boolean; shiftKey?: boolean; altKey?: boolean; } /** "⌘⇧S" on Mac, "Ctrl+Shift+S" elsewhere. */ export declare function formatShortcut(shortcut: ShortcutDescriptor): string;