import type { Universe } from '@ephox/boss'; import { TextSplit } from '../api/data/TextSplit'; /** * Return a TextSplit of item split at position. * * Edge cases: * pos at start: (none, some(item)) * pos at end: (some(item), none) * item is not text: (none, some(item)) */ declare const split: (universe: Universe, item: E, position: number) => TextSplit; /** * Split an item into three parts, and return the middle. * * If no split is required, return the item. */ declare const splitByPair: (universe: Universe, item: E, start: number, end: number) => E; export { split, splitByPair }; //# sourceMappingURL=Split.d.ts.map