/** * Assigns unique values an index number in the order they are encountered. * * Used to keep categorical GPU encodings stable: once a value gets an index, * it must never change for the lifetime of the owning scale. * * TODO: What about undefined? * * @template T */ export default function createIndexer(): { (value: T): number; addAll(iterable: Iterable): void; invert(value: number): T; domain(): T[]; }; //# sourceMappingURL=indexer.d.ts.map