import type { SlateEditor } from '@udecode/plate-common'; import type { KeyboardEvent } from 'react'; import * as OnKeyDownHandlers from './on-key-down'; export declare function onKeyDown(editor: SlateEditor, event: KeyboardEvent): boolean | void; export declare namespace onKeyDown { const onTabIncreaseListDepth: typeof OnKeyDownHandlers.onTabIncreaseListDepth; const onShiftTabDecreaseListDepth: typeof OnKeyDownHandlers.onShiftTabDecreaseListDepth; const onBackspaceDecreaseListDepth: typeof OnKeyDownHandlers.onBackspaceDecreaseListDepth; const onEnterEscapeFromEmptyList: typeof OnKeyDownHandlers.onEnterEscapeFromEmptyList; const onEnterSplitNonEmptyList: typeof OnKeyDownHandlers.onEnterSplitNonEmptyList; }