import React, { type PropsWithChildren } from 'react';
/**
 * This provider will hold the scale used to map from a value of the domain
 * to a color in the color palette (range) or undefined in case is out of the
 * domain. This is valid if the consumer set a layer to be colored by the
 * legend, else this provider will be undefined.
 * As we use different scales, the consumer (of this provider) will need to
 * set some type guards to ensure ts compliance.
 * Because of that and to ease the consumption of this provider, we created
 * another one that make use of this scale.
 * @see {@link LayerColorStrategyProvider}
 * @example to build a legend the raw scale could be needed
 * @param children -
 */
export declare const ColorScaleProvider: ({ children }: PropsWithChildren) => React.JSX.Element;
