import type { HsvaColor, RgbaColor } from '@uiw/react-color';
import { Modes } from "./types.js";
export declare const isValidHsva: (value: HsvaColor) => boolean;
export declare const getTextValueByMode: (hsva: HsvaColor, mode: Modes, withAlpha: boolean) => string;
export declare const parseColorToHsva: (value: string, withAlpha: boolean) => {
    hsva: HsvaColor;
    isValid: boolean;
};
export declare const normalizeInputColorForMode: (value: string, selectedMode: Modes, withAlpha: boolean) => {
    hsva: HsvaColor;
    formattedValue: string;
    isValid: boolean;
};
export declare function formatRgbaString(rgba: RgbaColor): string;
