import { z } from 'zod';
import { ColorSchema } from './schema';
export declare type RgbaColor = {
    red: number;
    green: number;
    blue: number;
    alpha: number;
};
export declare type SimpleRGBA = {
    r: number;
    g: number;
    b: number;
    a: number;
};
export declare type ColorSchemaType = z.input<typeof ColorSchema>;
export declare type ColorPickerProps = {
    color?: ColorSchemaType;
    fallbackColor?: ColorSchemaType;
    onChange?: (newColor: ColorSchemaType) => void;
    onClose?: () => void;
    onOk?: (newColor: ColorSchemaType) => void;
    onReset?: () => void;
    renderTirgger: () => JSX.Element;
    popoverOffset?: [number, number];
};
export declare type ColorPickerWithInputProps = {
    onInputChange: (inputValue: string, isValidColor: boolean) => void;
} & Omit<ColorPickerProps, 'renderTirgger' | 'popoverOffset'>;
