import * as _yamada_ui_core from '@yamada-ui/core'; import { HTMLUIProps, ThemeProps } from '@yamada-ui/core'; import { TooltipDataSourceType } from './chart.types.js'; import { UseChartProps } from './use-chart.js'; import { UseChartLegendProps } from './use-chart-legend.js'; import { UseChartTooltipOptions } from './use-chart-tooltip.js'; import { UsePieChartOptions } from './use-pie-chart.js'; import '@yamada-ui/utils'; import 'react'; import 'recharts'; import 'recharts/types/util/types'; import 'recharts/types/chart/types'; import 'lodash'; import 'recharts/types/chart/AccessibilityManager'; import 'recharts/types/chart/generateCategoricalChart'; interface PieChartOptions { /** * Determines which data is displayed in the tooltip. * * @default 'all' */ tooltipDataSource?: TooltipDataSourceType; /** * Unit displayed next to each value in tooltip. */ unit?: string; /** * If `true`, legend is visible. * * @default false */ withLegend?: boolean; /** * If `true`, tooltip is visible. * * @default true */ withTooltip?: boolean; } interface PieChartProps extends Omit, ThemeProps<"pieChart">, PieChartOptions, UsePieChartOptions, Omit, UseChartLegendProps, UseChartProps { } /** * `PieChart` is a component for drawing pie charts to compare multiple sets of data. * * @see Docs https://yamada-ui.com/components/data-display/pie-chart */ declare const PieChart: _yamada_ui_core.Component<"div", PieChartProps>; export { PieChart, type PieChartProps };