import { Fragment, ResolvedPos, Schema } from 'prosemirror-model'; import { Transaction } from 'prosemirror-state'; import { ExposedFragment } from '../types/pm'; import { NewEmptyAttrs, NewInsertAttrs, NewMoveAttrs } from './attributes'; export declare function setFragmentAsInserted(inserted: Fragment, insertAttrs: NewInsertAttrs, schema: Schema): Fragment; export declare function setFragmentAsWrapChange(inserted: Fragment, attrs: NewEmptyAttrs, schema: Schema): Fragment; export declare function setFragmentAsMoveChange(fragment: Fragment, moveAttrs: NewMoveAttrs): Fragment; export declare function setFragmentAsNodeSplit($pos: ResolvedPos, newTr: Transaction, inserted: Fragment, attrs: NewEmptyAttrs): Fragment; export declare function cutFragment(matched: number, deleted: number, content: Fragment): [number, ExposedFragment];