/** Stable token used in docs and swatch labels, e.g. `primary-500`. */
declare function getDesignSystemPaletteTokenLabel(paletteTitle: string, shade: string): string;
interface DesignSystemPaletteColorEntry {
    paletteTitle: string;
    shade: string;
    hex: string;
    tokenLabel: string;
}
interface Rgb {
    r: number;
    g: number;
    b: number;
}
interface Lab {
    l: number;
    a: number;
    b: number;
}
/** CIE76 ΔE in Lab space (perceptual distance). */
declare function deltaE76(lab1: Lab, lab2: Lab): number;
/** Parses `#RGB`, `#RRGGBB`, or `RRGGBB` (hash optional). Returns null if invalid. */
declare function parseHexToRgb(input: string): Rgb | null;
interface ClosestPaletteColorResult {
    match: DesignSystemPaletteColorEntry;
    deltaE: number;
}
declare function findClosestDesignSystemPaletteColor(input: string, catalog: DesignSystemPaletteColorEntry[]): ClosestPaletteColorResult | null;

export { type ClosestPaletteColorResult, type DesignSystemPaletteColorEntry, deltaE76, findClosestDesignSystemPaletteColor, getDesignSystemPaletteTokenLabel, parseHexToRgb };
