/// <reference types="react" />
import { AnnotationMatcher } from '@nivo/annotations';
import { ComputedCell, DefaultHeatMapDatum, HeatMapCommonProps, HeatMapDataProps, HeatMapDatum } from './types';
export declare const useComputeCells: <Datum extends HeatMapDatum, ExtraProps extends object>({ data, width, height, xInnerPadding, xOuterPadding, yInnerPadding, yOuterPadding, forceSquare, }: {
    data: import("./types").HeatMapSerie<Datum, ExtraProps>[];
    width: number;
    height: number;
} & Pick<HeatMapCommonProps<Datum>, "forceSquare" | "xInnerPadding" | "xOuterPadding" | "yInnerPadding" | "yOuterPadding">) => {
    width: number;
    height: number;
    offsetX: number;
    offsetY: number;
    xScale: import("@nivo/scales").ScaleBand<Datum["x"]>;
    yScale: import("@nivo/scales").ScaleBand<string>;
    minValue: number;
    maxValue: number;
    cells: Omit<ComputedCell<Datum>, "borderColor" | "formattedValue" | "color" | "opacity" | "label" | "labelTextColor">[];
};
export declare const useHeatMap: <Datum extends HeatMapDatum = DefaultHeatMapDatum, ExtraProps extends object = Record<string, never>>({ data, valueFormat, width: _width, height: _height, xOuterPadding, xInnerPadding, yOuterPadding, yInnerPadding, forceSquare, sizeVariation, colors, emptyColor, opacity, activeOpacity, inactiveOpacity, borderColor, label, labelTextColor, hoverTarget, }: {
    data: import("./types").HeatMapSerie<Datum, ExtraProps>[];
    width: number;
    height: number;
} & Partial<Pick<HeatMapCommonProps<Datum>, "borderColor" | "opacity" | "label" | "labelTextColor" | "valueFormat" | "forceSquare" | "sizeVariation" | "xInnerPadding" | "xOuterPadding" | "yInnerPadding" | "yOuterPadding" | "activeOpacity" | "inactiveOpacity" | "colors" | "emptyColor" | "hoverTarget">>) => {
    width: number;
    height: number;
    offsetX: number;
    offsetY: number;
    cells: ComputedCell<Datum>[];
    xScale: import("@nivo/scales").ScaleBand<Datum["x"]>;
    yScale: import("@nivo/scales").ScaleBand<string>;
    colorScale: import("d3-scale").ScaleSequential<string, never> | import("d3-scale").ScaleDiverging<string, never> | import("d3-scale").ScaleQuantize<string, never> | null;
    activeCell: ComputedCell<Datum> | null;
    setActiveCell: import("react").Dispatch<import("react").SetStateAction<ComputedCell<Datum> | null>>;
};
export declare const useCellAnnotations: <Datum extends HeatMapDatum>(cells: ComputedCell<Datum>[], annotations: AnnotationMatcher<ComputedCell<Datum>>[]) => import("@nivo/annotations").BoundAnnotation<ComputedCell<Datum>>[];
//# sourceMappingURL=hooks.d.ts.map