import type { Decoration, Node, RichContent } from '../ricos-schema/next-schema/index.js';
import type { PmJson, PmMarkConverter, PmMarkJson, PmNodeConverter, PmNodeJson } from './types.js';
export type PmConverters = {
    fromPm: (content: PmJson) => RichContent;
    fromPmNode: (node: PmNodeJson) => Node | undefined;
    fromPmNodeChildren: (node: PmJson) => Node[];
    marksToDecorations: (marks: PmMarkJson[]) => Decoration[];
    toPm: (content: RichContent) => PmJson;
    toPmNode: (node: Node) => PmNodeJson;
    toPmNodeChildren: (node: Node) => PmNodeJson[];
    decorationsToMarks: (decorations: Decoration[]) => PmMarkJson[];
};
export type PluginConverters = {
    pmNodeConverters?: PmNodeConverter[];
    pmMarkConverters?: PmMarkConverter[];
    dependencies?: PluginConverters[];
};
export declare const collectPmConverters: (plugins: PluginConverters[]) => PmConverters;
//# sourceMappingURL=collect.d.ts.map