import type { ReactNode } from "react";
import type { ColorOption } from "@/shared/config";
import type { EditorLocale } from "@/shared/locales";
interface ColorPopoverPickerProps {
    icon: ReactNode;
    title: string;
    type: "text" | "highlight";
    options: ColorOption[];
    selectedColor?: string;
    active?: boolean;
    disabled?: boolean;
    open: boolean;
    onOpenChange: (open: boolean) => void;
    onColorSelect: (color: string) => void;
    locale: EditorLocale;
    portalContainer?: HTMLElement | null;
    /** Popover 碰撞边界，未传时保持 Radix 默认边界。 */
    collisionBoundary?: HTMLElement | null;
    /** 触发器脱离边界时是否隐藏 Popover。 */
    hideWhenDetached?: boolean;
    popoverClassName?: string;
    triggerClassName?: string;
}
/** 图标触发器 + 颜色面板的一体化组件。 */
export default function ColorPopoverPicker({ icon, title, type, options, selectedColor, active, disabled, open, onOpenChange, onColorSelect, locale, portalContainer, collisionBoundary, hideWhenDetached, popoverClassName, triggerClassName, }: ColorPopoverPickerProps): import("react/jsx-runtime").JSX.Element;
export {};
