import { type ColorLike } from 'color';
import { ComponentPropsWithoutRef } from 'react';
import { Flex } from '../flex';
import { ColorObject, ModeType } from './utils';
type ColorPickerContextValue = {
    hue: number;
    saturation: number;
    lightness: number;
    alpha: number;
    mode: ModeType;
    setColor: (color: Partial<ColorObject>) => void;
    setMode: (mode: ModeType) => void;
};
export declare const useColorPicker: () => ColorPickerContextValue;
export interface ColorPickerProps extends Omit<ComponentPropsWithoutRef<typeof Flex>, 'defaultValue'> {
    value?: ColorLike;
    defaultValue?: ColorLike;
    onValueChange?: (value: string, mode: string) => void;
    defaultMode?: ModeType;
    mode?: ModeType;
    onModeChange?: (mode: ModeType) => void;
}
export declare const ColorPickerRoot: ({ value, defaultValue, onValueChange, defaultMode, mode: providedMode, onModeChange, ...props }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=color-picker-root.d.ts.map