import { BlockType } from '@xwiki/platform-editors-blocknote-react';
import { MacroWithUnknownParamsType } from '@xwiki/platform-macros-api';
import { ModelReferenceSerializer } from '@xwiki/platform-model-reference-api';
import { RemoteURLParser } from '@xwiki/platform-model-remote-url-api';
import { UniAst } from '@xwiki/platform-uniast-api';
/**
 * Convert the internal format of Blocknote to the Universal AST.
 * @since 18.0.0RC1
 * @beta
 */
export declare class BlockNoteToUniAstConverter {
    private readonly remoteURLParser;
    private readonly modelReferenceSerializer;
    private readonly macros;
    constructor(remoteURLParser: RemoteURLParser, modelReferenceSerializer: ModelReferenceSerializer, macros: MacroWithUnknownParamsType[]);
    blocksToUniAst(blocks: BlockType[]): UniAst | Error;
    private convertBlocks;
    private convertBlock;
    private convertListItem;
    private convertBlockStyles;
    private convertTableCell;
    private convertInlineContent;
    private parseTarget;
}
