/** @typedef {import('./types').RichTextValue} RichTextValue */ /** * Slice a Rich Text value from `startIndex` to `endIndex`. Indices are * retrieved from the selection if none are provided. This is similar to * `String.prototype.slice`. * * @param {RichTextValue} value Value to modify. * @param {number} [startIndex] Start index. * @param {number} [endIndex] End index. * * @return {RichTextValue} A new extracted value. */ export function slice(value: RichTextValue, startIndex?: number, endIndex?: number): RichTextValue; export type RichTextValue = import("./types").RichTextValue; //# sourceMappingURL=slice.d.ts.map