import { ColorHSL, ColorHSV, ColorRGB, ColorRGBA } from '@tanbo/color';
export declare class Picker {
    private onChange;
    set hex(color: string);
    get hex(): string | null;
    set hsl(color: ColorHSL);
    get hsl(): ColorHSL | null;
    set rgb(color: ColorRGB);
    get rgb(): ColorRGB | null;
    set rgba(color: ColorRGBA);
    get rgba(): ColorRGBA | null;
    set hsv(color: ColorHSV);
    get hsv(): ColorHSV | null;
    private _hex;
    private _hsl;
    private _rgb;
    private _hsv;
    private _rgba;
    empty: boolean;
    resetAlpha: boolean;
    constructor(onChange: () => void, value?: string);
}
export interface ColorPickerProps {
    value?: string;
    recentColors?: string[];
    onChange?(picker: Picker): void;
    onSelected(picker: Picker): void;
}
export declare function ColorPicker(props: ColorPickerProps): () => import("@viewfly/core").JSXNode;
