import { SpringConfig } from '@react-spring/web'; import { PropertyAccessor } from '@nivo/core'; import { BoxPlotCommonProps, BoxPlotDatum, BoxPlotSummary, ComputedBoxPlotSummary, DataProps, LegendData } from './types'; import { LegendProps } from '@nivo/legends'; export declare const useLevels: (levels: string[] | null, data: RawDatum[], by: PropertyAccessor | null) => string[] | null; export declare const useBoxPlot: ({ data, value, groupBy, groups, subGroupBy, subGroups, quantiles, width, height, layout, minValue, maxValue, valueScale, indexScale, padding, innerPadding, colorBy, colors, opacity, activeOpacity, inactiveOpacity, borderColor, medianColor, whiskerColor, legendLabel, tooltipLabel, valueFormat, legends, }: { data: DataProps["data"]; width: number; height: number; } & Pick, "value" | "groupBy" | "groups" | "subGroupBy" | "subGroups" | "quantiles" | "layout" | "minValue" | "maxValue" | "valueScale" | "indexScale" | "padding" | "innerPadding" | "colorBy" | "colors" | "opacity" | "activeOpacity" | "inactiveOpacity" | "borderColor" | "medianColor" | "whiskerColor" | "legendLabel" | "tooltipLabel" | "valueFormat" | "legends">) => { boxPlots: ComputedBoxPlotSummary[]; xScale: import("@nivo/scales").ScaleLog | import("@nivo/scales").ScaleSymlog | import("@nivo/scales").ScaleLinear | import("@nivo/scales").ScaleTime | import("@nivo/scales").ScaleBand | import("@nivo/scales").ScalePoint | import("@nivo/scales").ScaleBand; yScale: import("@nivo/scales").ScaleLog | import("@nivo/scales").ScaleSymlog | import("@nivo/scales").ScaleLinear | import("@nivo/scales").ScaleTime | import("@nivo/scales").ScaleBand | import("@nivo/scales").ScalePoint | import("@nivo/scales").ScaleBand; getTooltipLabel: (datum: BoxPlotSummary) => string; formatValue: (value: number) => string; getColor: import("@nivo/colors").OrdinalColorScale; getBorderColor: import("@nivo/colors").InheritedColorConfigCustomFunction | ((d: ComputedBoxPlotSummary) => any); getMedianColor: import("@nivo/colors").InheritedColorConfigCustomFunction | ((d: ComputedBoxPlotSummary) => any); getWhiskerColor: import("@nivo/colors").InheritedColorConfigCustomFunction | ((d: ComputedBoxPlotSummary) => any); legendsData: [LegendProps, LegendData[]][]; activeItem: ComputedBoxPlotSummary | null; setActiveItem: import("react").Dispatch>; }; export declare const useBoxPlotTransition: ({ boxPlots, getBorderColor, getMedianColor, getWhiskerColor, animate, springConfig, }: { boxPlots: ComputedBoxPlotSummary[]; getBorderColor: (d: ComputedBoxPlotSummary) => string; getMedianColor: (d: ComputedBoxPlotSummary) => string; getWhiskerColor: (d: ComputedBoxPlotSummary) => string; animate: boolean; springConfig: SpringConfig; }) => import("@react-spring/web").TransitionFn; //# sourceMappingURL=hooks.d.ts.map