import type { MapInstance } from '../core/MapInstance' /** * Categorical map type. */ export interface CategoricalMap extends MapInstance { /** Fill color for each category value. Auto-generated from a default palette when unset. */ classToFillStyle(): Record | undefined classToFillStyle(v: Record): this /** Legend/tooltip label for each category value. */ classToText(): Record | undefined classToText(v: Record): this noDataFillStyle(): string noDataFillStyle(v: string): this /** The classifier (d3 ordinal scale) mapping a category value to a class number. */ classifier(): ((value: string | number) => number) & { domain: (d?: (string | number)[]) => any } classifier(v: ((value: string | number) => number) & { domain?: (d?: (string | number)[]) => any }): this }