import { type Ref } from 'vue';
import type { VueNode } from '../../_util/type';
import type { ColorPickerProps, ColorValueType, ModeType } from '../interface';
import { type AggregationColor } from '../color';
export type ModeOptions = {
    label: VueNode;
    value: ModeType;
}[];
export default function useModeColor(defaultValue?: ColorValueType, value?: Ref<ColorValueType>, mode?: Ref<ColorPickerProps['mode']>): {
    postColor: import("vue").ComputedRef<AggregationColor>;
    setColor: (nextColor: AggregationColor) => void;
    postMode: import("vue").ComputedRef<ModeType>;
    setModeState: (nextMode: ModeType) => void;
    modeOptionList: import("vue").ComputedRef<ModeOptions>;
};
