import { RichTextFeature } from '@bluepic/types';
export declare function sliceFeature({ text, format }: RichTextFeature, ...sliceArgs: [number] | [number, number]): RichTextFeature;
export declare function groupFeatureByLinebreaks(features: RichTextFeature[]): RichTextFeature[][];
export declare function ungroupFeaturesDividedByLinebreaks(groupedFeatures: RichTextFeature[][]): RichTextFeature[];
export declare function sliceRichText(fragments: RichTextFeature[], start: number, end: number): RichTextFeature[];
export declare function getRawText(features: RichTextFeature[][] | RichTextFeature[]): string;
