import * as React from 'react'; import type { SeriesId } from "../models/index.mjs"; import type { PieClasses } from "./pieClasses.mjs"; interface PieArcLabelOwnerState { /** * The id of the series the element belongs to. */ seriesId: SeriesId; /** * The color of the element. */ color: string; /** * If `true`, the element is faded. */ isFaded: boolean; /** * If `true`, the element is highlighted. */ isHighlighted: boolean; /** * If `true`, animations are skipped. */ skipAnimation: boolean; /** * Override or extend the styles applied to the component. */ classes?: Partial; } export type PieArcLabelProps = PieArcLabelOwnerState & Omit, 'ref' | 'color'> & { /** * The start angle (deg). */ startAngle: number; /** * The end angle (deg). */ endAngle: number; /** * The radius between circle center and the arc label in px. */ arcLabelRadius: number; /** * The radius applied to arc corners (similar to border radius). */ cornerRadius: number; /** * The padding angle (deg) between two arcs. */ paddingAngle: number; /** * If `true`, animations are skipped. */ skipAnimation: boolean; /** * The text of the arc label. */ formattedArcLabel?: string | null; /** * If `true`, the element is hidden. */ hidden?: boolean; }; declare const PieArcLabel: React.ForwardRefExoticComponent, "color" | "ref"> & { /** * The start angle (deg). */ startAngle: number; /** * The end angle (deg). */ endAngle: number; /** * The radius between circle center and the arc label in px. */ arcLabelRadius: number; /** * The radius applied to arc corners (similar to border radius). */ cornerRadius: number; /** * The padding angle (deg) between two arcs. */ paddingAngle: number; /** * If `true`, animations are skipped. */ skipAnimation: boolean; /** * The text of the arc label. */ formattedArcLabel?: string | null; /** * If `true`, the element is hidden. */ hidden?: boolean; } & React.RefAttributes>; export { PieArcLabel };