import { Editor } from "../../types";
import { MenuButtonItem } from "@notesnook/ui";
import { ToolDefinition, ToolProps } from "../types";
import { IconNames } from "../icons";
export declare function menuButtonToTool(constructItem: (editor: Editor) => MenuButtonItem): (props: ToolProps & {
    icon: IconNames;
}) => import("react/jsx-runtime").JSX.Element;
export declare function toolToMenuButton(tool: ToolDefinition): MenuButtonItem;
