import type { Ctx, MilkdownPlugin } from '@milkdown/ctx'; import type { Command } from '@milkdown/prose/state'; export type Keymap = Record; export type $Shortcut = MilkdownPlugin & { keymap: Keymap; }; export declare function $shortcut(shortcut: (ctx: Ctx) => Keymap): $Shortcut; export declare function $shortcutAsync(shortcut: (ctx: Ctx) => Promise, timerName?: string): import("./utils").WithTimer<$Shortcut>; //# sourceMappingURL=$shortcut.d.ts.map