import type { Editor } from "@tiptap/react";
import { type ColorOption } from "@/shared/config";
import type { EditorLocale } from "@/shared/locales";
import "./index.css";
interface BubbleMenuProps {
    editor: Editor;
    locale: EditorLocale;
    textColorOptions: ColorOption[];
    highlightColorOptions: ColorOption[];
    portalContainer?: HTMLElement | null;
    /** 选区附属颜色面板的内容层 Portal 容器。 */
    contentPortalContainer?: HTMLElement | null;
    /** 选区附属面板碰撞边界，通常为编辑器滚动容器。 */
    contentPopoverBoundary?: HTMLElement | null;
    isInsideOverlayContainer?: (target: EventTarget | null) => boolean;
    onOverlayCloseOutside?: () => void;
}
declare const BubbleMenu: ({ editor, locale, textColorOptions, highlightColorOptions, portalContainer, contentPortalContainer, contentPopoverBoundary, isInsideOverlayContainer, onOverlayCloseOutside, }: BubbleMenuProps) => import("react/jsx-runtime").JSX.Element | null;
export default BubbleMenu;
