import { PrismEditor } from '../index.js'; type EditorCommand = (editor: PrismEditor, e: KeyboardEvent) => void | boolean; declare const normalizeKey: (command: string) => string; declare const getKeyCommands: (e: KeyboardEvent) => Set; declare const runKeyCommands: any>(e: KeyboardEvent, commandMap: Record, args: Parameters) => true | undefined; declare const addEditorCommand: (editor: PrismEditor, key: string, command: EditorCommand, highPriority?: boolean) => void; declare const removeEditorCommand: (editor: PrismEditor, key: string, command: EditorCommand) => void; export { normalizeKey, getKeyCommands, addEditorCommand, removeEditorCommand, runKeyCommands };