import type { Node, RichContent } from 'ricos-schema'; declare class Builder { private onRender?; private content; constructor(content: RichContent, onRender?: (content: RichContent) => void); private add; append(node: Node): this; insertBefore(id: string, node: Node): this; insertAfter(id: string, node: Node): this; insertAt(index: number, node: Node): this; render(): RichContent; } export declare const createBuilder: (content: RichContent, onRender?: ((content: RichContent) => void) | undefined) => Builder; export {}; //# sourceMappingURL=builder.d.ts.map