/** * Default categorical palette — validated for both color schemes. * * The same eight hues stepped for each surface (not an automatic flip): the slot * ORDER is the CVD-safety mechanism, chosen so every adjacent pair clears the * hard gates (worst adjacent CVD ΔE ≈ 9.1 light / 8.4 dark, OKLab ×100; normal- * vision ΔE ≈ 19.6 light / 19.3 dark) on the light `#FFFFFF` and dark `#1C1C1F` * chart surfaces. Do not reorder or re-step without re-running the palette * validator against both surfaces. Slots past #3 cannot clear the all-pairs * floors (scatter/bubble) — fold extras to "Other" or facet rather than cycling. */ export declare const paletteDefaultLight: string[]; export declare const paletteDefaultDark: string[]; /** * Back-compat alias — light is the historical default. Prefer selecting * {@link paletteDefaultLight} / {@link paletteDefaultDark} by the active scheme. */ export declare const paletteDefault: string[]; /** * Pick the validated categorical palette for a color scheme. */ export declare function getDefaultPalette(scheme?: 'light' | 'dark'): string[]; /** * Okabe–Ito colorblind safe palette (8 colors) */ export declare const paletteColorBlind: string[]; /** * High contrast palette for accessibility */ export declare const paletteHighContrast: string[]; /** * Available palette names */ export type PaletteName = 'default' | 'colorBlind' | 'highContrast'; /** * Options for color assignment */ export interface ColorAssignOptions { /** Palette name or custom color array */ palette?: PaletteName | string[]; /** Use deterministic hashing by id */ hash?: boolean; } /** * Creates a color assignment function based on palette and hashing options * @param opts - Color assignment options * @returns Function that assigns colors by index or id */ export declare function createColorAssigner(opts?: ColorAssignOptions): (index: number, id?: string | number) => string;