import { Editor } from 'slate'; import { RenderElementProps, RenderTextProps, RenderLeafProps, RenderPlaceholderProps, RenderChunkProps } from '../utils/interface'; /** * Check if an event is overrided by a handler. */ export declare const isEventHandled: (event: EventType, handler?: (event: EventType) => void | boolean) => boolean; /** * Check if the event's target is an input element */ export declare const isDOMEventTargetInput: (event: EventType) => boolean; /** * Check if a DOM event is overrided by a handler. */ export declare const isDOMEventHandled: (event: E, handler?: (event: E) => void | boolean) => boolean; export declare const handleNativeHistoryEvents: (editor: Editor, event: InputEvent) => void; /** * A default implement to scroll dom range into view. */ export declare const DEFAULT_SCROLL_INTO_VIEW: (editor: Editor, domRange: globalThis.Range) => void; export declare const DEFAULT_ELEMENT_RENDER: ({ element, attributes, children, editor, }: RenderElementProps) => import('vue').VNode; export declare const DEFAULT_LEAF_RENDER: ({ attributes, children, }: RenderLeafProps) => import('vue').VNode; export declare const DEFAULT_TEXT_RENDER: ({ attributes, children, }: RenderTextProps) => import('vue').VNode; export declare const DEFAULT_CHUNK_RENDER: ({ children, attributes, }: RenderChunkProps) => import('vue').VNode; export declare const DEFAULT_PLACEHOLDER_RENDER: ({ attributes, children, }: RenderPlaceholderProps) => import('vue').VNode; export declare const DEFAULT_DECORATE_FN: () => never[];