import * as React from 'react'; import { type MakeOptional } from '@mui/x-internals/types'; import { type ChartsAxisProps } from '@mui/x-charts/ChartsAxis'; import { type ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip'; import { type ChartsAxisSlots, type ChartsAxisSlotProps, type XAxis, type YAxis } from '@mui/x-charts/internals'; import { type ChartsOverlayProps, type ChartsOverlaySlotProps, type ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay'; import { type ChartsLegendSlotProps, type ChartsLegendSlots } from '@mui/x-charts/ChartsLegend'; import { type ChartsSlotPropsPro, type ChartsSlotsPro } from "../internals/material/index.js"; import { type ChartsContainerProProps } from "../ChartsContainerPro/index.js"; import { type HeatmapSeriesType } from "../models/seriesType/heatmap.js"; import { type HeatmapTooltipProps } from "./HeatmapTooltip/index.js"; import { type HeatmapItemSlotProps, type HeatmapItemSlots } from "./HeatmapItem.js"; import { type HeatmapPluginSignatures } from "./Heatmap.plugins.js"; import { type ChartsToolbarProSlotProps, type ChartsToolbarProSlots } from "../ChartsToolbarPro/Toolbar.types.js"; export interface HeatmapSlots extends ChartsAxisSlots, ChartsOverlaySlots, HeatmapItemSlots, ChartsToolbarProSlots, Partial { /** * Custom component for the tooltip. * @default ChartsTooltipRoot */ tooltip?: React.ElementType; /** * Custom component for the legend. * @default ContinuousColorLegendProps */ legend?: ChartsLegendSlots['legend']; } export interface HeatmapSlotProps extends ChartsAxisSlotProps, ChartsOverlaySlotProps, HeatmapItemSlotProps, ChartsLegendSlotProps, ChartsToolbarProSlotProps, Partial { tooltip?: Partial; } export type HeatmapSeries = MakeOptional; export interface HeatmapProps extends Omit, 'series' | 'plugins' | 'xAxis' | 'yAxis' | 'axesGap' | 'skipAnimation' | 'slots' | 'slotProps' | 'highlightedAxis' | 'onHighlightedAxisChange' | 'seriesConfig' | 'onAxisClick'>, Omit, Omit { /** * The configuration of the x-axes. * If not provided, a default axis config is used. * An array of [[AxisConfig]] objects. */ xAxis: Readonly, 'scaleType'>[]>; /** * The configuration of the y-axes. * If not provided, a default axis config is used. * An array of [[AxisConfig]] objects. */ yAxis: Readonly, 'scaleType'>[]>; /** * The series to display in the bar chart. * An array of [[HeatmapSeries]] objects. */ series: Readonly; /** * The configuration of the tooltip. * @see See {@link https://mui.com/x/react-charts/tooltip/ tooltip docs} for more details. */ tooltip?: ChartsTooltipProps; /** * If `true`, the legend is not rendered. */ hideLegend?: boolean; /** * If true, shows the default chart toolbar. * @default false */ showToolbar?: boolean; /** * The border radius of the heatmap cells in pixels. */ borderRadius?: number; /** * Overridable component slots. * @default {} */ slots?: HeatmapSlots; /** * The props used for each component slot. * @default {} */ slotProps?: HeatmapSlotProps; } declare const Heatmap: React.ForwardRefExoticComponent>; export { Heatmap };