import type { KeyboardEvent } from 'react'; import type { Editor } from 'slate'; export declare function onKeyDown(editor: Editor, event: KeyboardEvent): boolean | void;