import * as React from 'react'; import type { PieArcOwnerState } from "./pieClasses.js"; export type PieArcProps = Omit, 'ref'> & PieArcOwnerState & { /** * The radius applied to arc corners (similar to border radius). */ cornerRadius: number; /** * The end angle (deg). */ endAngle: number; /** * The radius between circle center and the beginning of the arc. */ innerRadius: number; /** * Callback fired when the arc is clicked. * @param {React.MouseEvent} event The event source of the callback. */ onClick?: (event: React.MouseEvent) => void; /** * The radius between circle center and the end of the arc. */ outerRadius: number; /** * The padding angle (deg) between two arcs. */ paddingAngle: number; /** * The start angle (deg). */ startAngle: number; /** * If `true`, the animation is disabled. */ skipAnimation?: boolean; /** * If `true`, the default event handlers are disabled. * Those are used, for example, to display a tooltip or highlight the arc on hover. */ skipInteraction?: boolean; }; declare const PieArc: React.ForwardRefExoticComponent, "ref"> & PieArcOwnerState & { /** * The radius applied to arc corners (similar to border radius). */ cornerRadius: number; /** * The end angle (deg). */ endAngle: number; /** * The radius between circle center and the beginning of the arc. */ innerRadius: number; /** * Callback fired when the arc is clicked. * @param {React.MouseEvent} event The event source of the callback. */ onClick?: (event: React.MouseEvent) => void; /** * The radius between circle center and the end of the arc. */ outerRadius: number; /** * The padding angle (deg) between two arcs. */ paddingAngle: number; /** * The start angle (deg). */ startAngle: number; /** * If `true`, the animation is disabled. */ skipAnimation?: boolean; /** * If `true`, the default event handlers are disabled. * Those are used, for example, to display a tooltip or highlight the arc on hover. */ skipInteraction?: boolean; } & React.RefAttributes>; export { PieArc };