import React from 'react'; import './index.scss'; declare const ColorPicker: ({ theme, type, isPure, value, handleOk, handleCancel, handleParams, gradientConfig, footer }: IColorPicker) => React.JSX.Element; export default ColorPicker; export interface IColorPicker { theme?: string; type?: string; isPure?: boolean; value: string | IGradient; handleOk: Function; handleCancel?: Function; handleParams: Function; gradientConfig?: IGradient; footer?: IFooter; } export interface IFooter { okText?: string; cancelText?: string; } export interface IGradient { fillType?: string; color?: string[]; angle?: number; position?: number; current?: 0; colorGroups?: string[]; }