import { Editor } from 'slate'; import { NextType } from '@guestbell/slate-common/lib/types/next'; import Options from '../options'; /** * User pressed Enter in an editor * * Enter in a list item should split the list item * Enter in an empty list item should remove it * Shift+Enter in a list item should make a new line */ declare function onEnter(event: React.KeyboardEvent, editor: Editor, opts: Options, next: NextType): void | undefined | Editor; export default onEnter; //# sourceMappingURL=onEnter.d.ts.map