import { ContentBlock, ContentRow, ContentState, Selection } from './models'; export declare const generateId: () => string; export declare const demoContentState: ContentState; export declare const createContentStateFromText: (text: string, delimiter?: string | undefined) => ContentState; export declare const createEmptyContentState: () => ContentState; export declare const parseRawBlock: (block: ContentBlock) => { row: ContentBlock[]; text: string; type: string; }; export declare const getRowValueFromBlocks: ({ row }: { row?: {} | undefined; }) => any; export declare const getCurrentBlockInRow: ({ selection, row, cursorAt, }: { selection?: Selection | undefined; row: ContentRow; cursorAt?: number | null | undefined; }) => { block?: undefined; blockIndex?: undefined; pointerAt?: undefined; position?: undefined; styles?: undefined; } | { block: ContentBlock; blockIndex: number; pointerAt: number; position: string; styles: never[]; }; export declare const getSelectedBlocks: ({ selection, row, }: { selection: Selection; row: ContentRow; }) => { startBlock: { block?: undefined; blockIndex?: undefined; pointerAt?: undefined; position?: undefined; styles?: undefined; } | { block: ContentBlock; blockIndex: number; pointerAt: number; position: string; styles: never[]; }; endBlock: { block?: undefined; blockIndex?: undefined; pointerAt?: undefined; position?: undefined; styles?: undefined; } | { block: ContentBlock; blockIndex: number; pointerAt: number; position: string; styles: never[]; }; }; export declare const splitString: (value: string | undefined, index: number) => string[]; export declare const mergeNewStyles: (currentStyles?: string[], newStyles?: string[], oldStyles?: string[]) => string[]; export declare const attachStylesToSelectedText: ({ selection, row, newStyles, oldStyles, }: { selection: any; row: any; newStyles: string[]; oldStyles: string[]; }) => { blocks: any[]; } | undefined; export declare const removeSelectedText: ({ selection, row, }: { selection: Selection; row: ContentRow; }) => ContentBlock[]; export declare const splitRow: ({ row, selection }: any) => any[] | undefined; export declare const insertAt: (main_string: string, ins_string: string, pos: number) => string;