import type { RawCommands } from '../types.js';
declare module '../index' {
    interface Commands<ReturnType> {
        keyboardShortcut: {
            /**
             * Trigger a keyboard shortcut.
             * @param name The name of the keyboard shortcut.
             * @example editor.commands.keyboardShortcut('Mod-b')
             */
            keyboardShortcut: (name: string) => ReturnType;
        };
    }
}
export declare const keyboardShortcut: RawCommands['keyboardShortcut'];
//# sourceMappingURL=keyboard-shortcut.d.ts.map