import { Node } from 'prosemirror-model';
import { EditorPlugin } from "../../types/index.js";
import { FloatingToolbarConfig } from "./types.js";
declare type ConfigWithNodeInfo = {
    config: FloatingToolbarConfig | undefined;
    pos: number;
    node: Node;
};
export declare const getRelevantConfig: (selection: any, configs: Array<FloatingToolbarConfig>) => ConfigWithNodeInfo | undefined;
declare const floatingToolbarPlugin: () => EditorPlugin;
export default floatingToolbarPlugin;
