export interface Rgba {
    r: number;
    g: number;
    b: number;
    a: number;
}
export type ColorInput = {
    hex: string;
} | {
    rgb: [number, number, number];
} | {
    rgba: [number, number, number, number];
} | {
    hsl: [number, number, number];
} | {
    hsla: [number, number, number, number];
};
export interface ColorValue {
    rgba: Rgba;
    to_hex(): string;
    to_hexa(): string;
    to_rgb(): string;
    to_rgba(): string;
    to_hsl(): string;
    to_hsla(): string;
    to_object(): Rgba;
    alpha(value: number): ColorValue;
    lighten(amount: number): ColorValue;
    darken(amount: number): ColorValue;
    mix(other: ColorValue | ColorInput, ratio: number): ColorValue;
    luminance(): number;
    is_dark(): boolean;
}
export declare const Color: {
    (input: ColorInput): ColorValue;
    new (input: ColorInput): ColorValue;
};
