import type { Label } from "./types";
type ScoredLabel = {
    label: Label;
    score: number;
};
type ColorFeatures = {
    r: number;
    g: number;
    b: number;
    h: number;
    s: number;
    l: number;
    v: number;
    Y: number;
    chroma: number;
};
type Rule = {
    label: Label;
    score: (f: ColorFeatures) => number;
};
export declare const RULES: Rule[];
export declare function classifyColor(hex: string, rules?: Rule[]): ScoredLabel[];
export declare function topLabel(hex: string, rules?: Rule[]): ScoredLabel | null;
export {};
