import * as React from 'react'; import type { WithDataAttributes } from '@mui/utils/types'; import type { PieArcProps } from "./PieArc.js"; import type { ComputedPieRadius, DefaultizedPieSeriesType, DefaultizedPieValueType, PieItemIdentifier } from "../models/seriesType/pie.js"; import type { ChartsActivationEvent } from "../models/events.js"; import type { PieArcPropsOverrides } from "../models/chartsSlotsComponentsProps.js"; export interface PieArcPlotSlots { pieArc?: React.JSXElementConstructor; } export interface PieArcPlotSlotProps { pieArc?: WithDataAttributes & PieArcPropsOverrides>; } export interface PieArcPlotProps extends Pick, ComputedPieRadius { /** * The id of this series. */ seriesId: string; /** * Override the arc attributes when it is faded. * @default { additionalRadius: -5 } */ faded?: DefaultizedPieSeriesType['faded']; /** * Overridable component slots. * @default {} */ slots?: PieArcPlotSlots; /** * The props used for each component slot. * @default {} */ slotProps?: PieArcPlotSlotProps; /** * Callback fired when a pie item is clicked. * @param {ChartsActivationEvent} event The event source of the callback. * @param {PieItemIdentifier} pieItemIdentifier The pie item identifier. * @param {DefaultizedPieValueType} item The pie item. */ onItemClick?: (event: ChartsActivationEvent, pieItemIdentifier: PieItemIdentifier, item: DefaultizedPieValueType) => void; /** * If `true`, animations are skipped. * @default false */ skipAnimation?: boolean; } declare function PieArcPlot(props: PieArcPlotProps): React.JSX.Element | null; declare namespace PieArcPlot { var propTypes: any; } export { PieArcPlot };