import { CategoricalMapper } from "./categorical_mapper";
import { ColorMapper } from "./color_mapper";
import { Factor } from "../ranges/factor_range";
import * as p from "../../core/properties";
import { Arrayable, ArrayableOf } from "../../core/types";
export declare namespace CategoricalColorMapper {
    type Attrs = p.AttrsOf<Props>;
    type Props = ColorMapper.Props & CategoricalMapper.Props;
}
export interface CategoricalColorMapper extends CategoricalColorMapper.Attrs {
}
export declare class CategoricalColorMapper extends ColorMapper {
    properties: CategoricalColorMapper.Props;
    constructor(attrs?: Partial<CategoricalColorMapper.Attrs>);
    static initClass(): void;
    protected _v_compute<T>(data: ArrayableOf<Factor>, values: Arrayable<T>, palette: Arrayable<T>, { nan_color }: {
        nan_color: T;
    }): void;
}
