import type { Editor } from "@block-kit/core"; import { CorePlugin } from "@block-kit/core"; import type { O } from "@block-kit/utils/dist/es/types"; import type { ShortcutFunc, ShortcutFuncMap } from "./types"; export declare class Shortcut extends CorePlugin { protected editor: Editor; key: string; protected config: ShortcutFunc[]; constructor(editor: Editor, config?: ShortcutFuncMap); destroy(): void; match(): boolean; protected getKeys(): O.Map; protected onKeydown(event: KeyboardEvent): void; }