import type { ColorOption } from '@/shared/config';
import type { EditorLocale } from '@/shared/locales';
import './index.css';
interface ColorPickerProps {
    onColorSelect: (color: string) => void;
    options: ColorOption[];
    type: 'text' | 'highlight';
    /** 当前选中的颜色（与预设或自定义色值一致时，对应色块显示蓝色边框） */
    selectedColor?: string;
    style?: React.CSSProperties;
    className?: string;
    locale: EditorLocale;
}
declare const ColorPicker: ({ onColorSelect, options, type, selectedColor, style, className, locale, }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
export default ColorPicker;
