/** * Creates a string representation from an array of keyboard keys with a * delimiter that is unlikely to be used in a keyboard shortcut. Flattened * representations can be used to easily compare keyboard presses against a * map of shortcuts. * * @example * ```ts * const keys = ['cmd', 'shift', 'a'] * const flattenedKeyCombo = flattenKeyCombo(keys) * console.log(flattenedKeyCombo) // 'cmd§§§shift§§§a' * ``` */ export declare const flattenKeyCombo: (keyCombo: string[] | string) => string; export declare const hotkeyFns: { ctrl: (key?: string | string[]) => string[]; alt: (key?: string | string[]) => string[]; shift: (key?: string | string[]) => string[]; meta: (key?: string | string[]) => string[]; }; export declare const formatKeyCombo: (keyCombo: string) => string; export declare const createKeyboardControls: (runAction: (scope: string, actionId: string) => void) => { removeKeys: (scope: string) => void; addKeys: (scope: string, keyMapItems: Record) => void; enabled: import("@threlte/core").CurrentWritable; };