import type { Node, ParagraphData, RichContent, TextData } from '@wix/ricos/schema';
import type { ListItemData } from '../types/index.js';
export declare function addNode({ node, index, before, after, content }: {
    node: Node;
    index?: number;
    before?: string;
    after?: string;
    content: RichContent;
}): RichContent;
export declare const toListDataArray: (items: string | TextData | ListItemData | (string | TextData | ListItemData)[], data: ParagraphData) => ListItemData[];
export declare const toTextDataArray: (text?: string | TextData | (string | TextData)[]) => TextData[];
//# sourceMappingURL=builder-utils.d.ts.map