import React from 'react'; import type { StoreType } from '../ui-types.js'; export declare const DEFAULT_COLORS: string[]; export declare const getUsedColors: (store: StoreType) => string[]; type Props = { size?: number; onChange: (color: string) => void; onOpen?: () => void; onClose?: () => void; value: string; store: StoreType; gradientEnabled?: boolean; style?: any; children?: any; position?: string; }; export declare const ColoredBox: React.ForwardRefExoticComponent & React.RefAttributes>; declare let getColorsPreset: (store: StoreType) => string[]; export declare function setColorsPresetFunc(func: typeof getColorsPreset): void; export type ColorPickerContentProps = { value: string; onChange: (color: string) => void; store: StoreType; gradientEnabled: boolean; presetColors: string[]; }; export declare function setColorPickerContent(component: React.ComponentType | null): void; export declare const ColorPicker: ({ value, onChange, size, store, gradientEnabled, children, style, onOpen, onClose, }: Props) => React.JSX.Element; export default ColorPicker;