import { Slice } from '../slice/Slice'; import type { Peritext } from '../Peritext'; import type { SliceType } from '../slice/types'; import type { Slices } from '../slice/Slices'; import type { ITimestampStruct } from '../../../json-crdt-patch'; import type { Range } from '../rga/Range'; export declare class EditorSlices { protected readonly txt: Peritext; readonly slices: Slices; constructor(txt: Peritext, slices: Slices); /** * @todo Rename to `insMany`. */ insStack(type: SliceType, data?: unknown | ITimestampStruct, selection?: Range[] | IterableIterator>): Slice[]; insOne(type: SliceType, data?: unknown | ITimestampStruct, selection?: Range[] | IterableIterator>): Slice[]; insErase(type: SliceType, data?: unknown | ITimestampStruct, selection?: Range[] | IterableIterator>): Slice[]; insMarker(type: SliceType, data?: unknown, selection?: Range[] | IterableIterator>): Slice[]; del(sliceOrId: Slice | ITimestampStruct): void; }