import type { EditorState } from '@tiptap/pm/state'; export declare function tuiGetSlicedFragment(state: EditorState, to: number): string;