import { ColorScale } from '../types/map';
import { FeatureLike } from 'ol/Feature';
interface UseColorScaleOptions {
    data: FeatureLike[];
    valueProperty: string;
    colorScale: ColorScale;
}
export declare const useColorScale: ({ data, valueProperty, colorScale }: UseColorScaleOptions) => (value: number) => string;
export default useColorScale;
