import BaseFoundation, { DefaultAdapter } from "../base/foundation"; import ColorPickerFoundation, { ColorPickerProps } from "./foundation"; import { HsvaColor, RgbaColor } from "./interface"; type Value = ColorPickerProps['value']; export interface DataPartBaseProps { currentColor: Value; defaultFormat: 'hex' | 'rgba' | 'hsva'; width: number; alpha?: boolean; foundation: ColorPickerFoundation; eyeDropper: boolean; } export interface DataPartBaseState { format: 'hex' | 'rgba' | 'hsva'; inputValue: string; } export interface DataPartAdapter
, S = Record {
getColorPickerFoundation: () => ColorPickerFoundation;
}
declare class DataPartFoundation extends BaseFoundation