import { Fragment, Schema } from "prosemirror-model";
import type { BlockNoteEditor } from "../../../editor/BlockNoteEditor";
import { BlockSchema, InlineContentSchema, PartialBlock, StyleSchema } from "../../../schema";
export interface ExternalHTMLExporter<BSchema extends BlockSchema, I extends InlineContentSchema, S extends StyleSchema> {
    exportBlocks: (blocks: PartialBlock<BSchema, I, S>[]) => string;
    exportProseMirrorFragment: (fragment: Fragment) => string;
}
export declare const createExternalHTMLExporter: <BSchema extends Record<string, import("../../../schema").BlockConfig>, I extends InlineContentSchema, S extends StyleSchema>(schema: Schema, editor: BlockNoteEditor<BSchema, I, S>) => ExternalHTMLExporter<BSchema, I, S>;
