import type { ScaleOrdinal, ScaleQuantize, ScaleThreshold } from 'd3-scale';
/**
 * Resolves a color inside the given scale just if it fits its domain
 *
 * @param scale - given scale
 * @param value - given value
 */
export declare const resolveColor: (scale: ScaleQuantize<string> | ScaleThreshold<number, string> | ScaleOrdinal<string, string>, value: number | string | undefined) => string | undefined;
