export type ColorInput = { index: number; color?: string; } | string | number; export type Palette = { propertyValue: string; scale: string[][] | string[]; }; /** * Resolves a theme color property value (a plain color string, a legacy numeric * palette index, or an `{ index, color }` reference) against an explicit palette. */ export declare function resolveThemeColor(input: ColorInput | null | undefined, palette: readonly string[]): string; /** * Looks up a data palette's color scale by property value. Pyramid palettes carry one * scale per data-set size and pick the closest step; other palette types have one scale. */ export declare function getThemePaletteScale(dataPalettes: readonly Palette[], propertyValue: string, size?: number): string[];