@yamada-ui/charts 1.5.6 → 1.5.7-dev-20241110143958

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ import * as recharts_types_util_types from 'recharts/types/util/types';
2
+ import * as recharts_types_chart_types from 'recharts/types/chart/types';
3
+ import * as lodash from 'lodash';
4
+ import * as recharts_types_chart_AccessibilityManager from 'recharts/types/chart/AccessibilityManager';
1
5
  import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
2
6
  import * as react from 'react';
3
7
  import * as _yamada_ui_utils from '@yamada-ui/utils';
@@ -111,7 +115,327 @@ declare const usePieChart: ({ data, endAngle, fillOpacity, innerRadius, isPercen
111
115
  getCellProps: RequiredPropGetter<{
112
116
  index: number;
113
117
  } & Omit<Recharts.CellProps, "ref">, Recharts.CellProps>;
114
- getPieChartProps: PropGetter<recharts_types_chart_generateCategoricalChart.CategoricalChartProps, recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
118
+ getPieChartProps: PropGetter<Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
119
+ readonly eventEmitterSymbol: Symbol;
120
+ clipPathId: string;
121
+ accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
122
+ throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
123
+ container?: HTMLElement;
124
+ componentDidMount(): void;
125
+ displayDefaultTooltip(): void;
126
+ getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
127
+ componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
128
+ componentWillUnmount(): void;
129
+ getTooltipEventType(): recharts_types_util_types.TooltipEventType;
130
+ getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
131
+ xValue: any;
132
+ yValue: any;
133
+ chartX: number;
134
+ chartY: number;
135
+ } | {
136
+ activeTooltipIndex: number;
137
+ activeLabel: any;
138
+ activePayload: any[];
139
+ activeCoordinate: recharts_types_util_types.ChartCoordinate;
140
+ chartX: number;
141
+ chartY: number;
142
+ };
143
+ inRange(x: number, y: number, scale?: number): any;
144
+ parseEventsOfWrapper(): any;
145
+ addListener(): void;
146
+ removeListener(): void;
147
+ handleLegendBBoxUpdate: (box: DOMRect) => void;
148
+ handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
149
+ handleBrushChange: ({ startIndex, endIndex }: {
150
+ startIndex: number;
151
+ endIndex: number;
152
+ }) => void;
153
+ handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
154
+ triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
155
+ handleItemMouseEnter: (el: any) => void;
156
+ handleItemMouseLeave: () => void;
157
+ handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
158
+ handleMouseLeave: (e: any) => void;
159
+ handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
160
+ handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
161
+ handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
162
+ handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
163
+ handleTouchMove: (e: react.TouchEvent<Element>) => void;
164
+ handleTouchStart: (e: react.TouchEvent<Element>) => void;
165
+ handleTouchEnd: (e: react.TouchEvent<Element>) => void;
166
+ triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
167
+ applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
168
+ filterFormatItem(item: any, displayName: any, childIndex: any): any;
169
+ renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
170
+ renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
171
+ renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
172
+ renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
173
+ renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
174
+ renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
175
+ renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
176
+ renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
177
+ renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
178
+ renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
179
+ renderClipPath(): react.JSX.Element;
180
+ getXScales(): {
181
+ [x: string]: Function | recharts_types_util_types.ScaleType;
182
+ };
183
+ getYScales(): {
184
+ [x: string]: Function | recharts_types_util_types.ScaleType;
185
+ };
186
+ getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
187
+ getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
188
+ getItemByXY(chartXY: {
189
+ x: number;
190
+ y: number;
191
+ }): {
192
+ graphicalItem: any;
193
+ payload: any;
194
+ };
195
+ renderMap: {
196
+ CartesianGrid: {
197
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
198
+ once: boolean;
199
+ };
200
+ ReferenceArea: {
201
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
202
+ };
203
+ ReferenceLine: {
204
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
205
+ };
206
+ ReferenceDot: {
207
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
208
+ };
209
+ XAxis: {
210
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
211
+ };
212
+ YAxis: {
213
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
214
+ };
215
+ Brush: {
216
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
217
+ once: boolean;
218
+ };
219
+ Bar: {
220
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
221
+ };
222
+ Line: {
223
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
224
+ };
225
+ Area: {
226
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
227
+ };
228
+ Radar: {
229
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
230
+ };
231
+ RadialBar: {
232
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
233
+ };
234
+ Scatter: {
235
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
236
+ };
237
+ Pie: {
238
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
239
+ };
240
+ Funnel: {
241
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
242
+ };
243
+ Tooltip: {
244
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
245
+ once: boolean;
246
+ };
247
+ PolarGrid: {
248
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
249
+ once: boolean;
250
+ };
251
+ PolarAngleAxis: {
252
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
253
+ };
254
+ PolarRadiusAxis: {
255
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
256
+ };
257
+ Customized: {
258
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
259
+ };
260
+ };
261
+ render(): react.JSX.Element;
262
+ context: unknown;
263
+ setState<K extends keyof recharts_types_chart_types.CategoricalChartState>(state: recharts_types_chart_types.CategoricalChartState | ((prevState: Readonly<recharts_types_chart_types.CategoricalChartState>, props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>) => recharts_types_chart_types.CategoricalChartState | Pick<recharts_types_chart_types.CategoricalChartState, K>) | Pick<recharts_types_chart_types.CategoricalChartState, K>, callback?: () => void): void;
264
+ forceUpdate(callback?: () => void): void;
265
+ readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
266
+ state: Readonly<recharts_types_chart_types.CategoricalChartState>;
267
+ refs: {
268
+ [key: string]: react.ReactInstance;
269
+ };
270
+ shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
271
+ componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
272
+ componentWillMount?(): void;
273
+ UNSAFE_componentWillMount?(): void;
274
+ componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
275
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
276
+ componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
277
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
278
+ }>, "ref">, Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
279
+ readonly eventEmitterSymbol: Symbol;
280
+ clipPathId: string;
281
+ accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
282
+ throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
283
+ container?: HTMLElement;
284
+ componentDidMount(): void;
285
+ displayDefaultTooltip(): void;
286
+ getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
287
+ componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
288
+ componentWillUnmount(): void;
289
+ getTooltipEventType(): recharts_types_util_types.TooltipEventType;
290
+ getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
291
+ xValue: any;
292
+ yValue: any;
293
+ chartX: number;
294
+ chartY: number;
295
+ } | {
296
+ activeTooltipIndex: number;
297
+ activeLabel: any;
298
+ activePayload: any[];
299
+ activeCoordinate: recharts_types_util_types.ChartCoordinate;
300
+ chartX: number;
301
+ chartY: number;
302
+ };
303
+ inRange(x: number, y: number, scale?: number): any;
304
+ parseEventsOfWrapper(): any;
305
+ addListener(): void;
306
+ removeListener(): void;
307
+ handleLegendBBoxUpdate: (box: DOMRect) => void;
308
+ handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
309
+ handleBrushChange: ({ startIndex, endIndex }: {
310
+ startIndex: number;
311
+ endIndex: number;
312
+ }) => void;
313
+ handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
314
+ triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
315
+ handleItemMouseEnter: (el: any) => void;
316
+ handleItemMouseLeave: () => void;
317
+ handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
318
+ handleMouseLeave: (e: any) => void;
319
+ handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
320
+ handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
321
+ handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
322
+ handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
323
+ handleTouchMove: (e: react.TouchEvent<Element>) => void;
324
+ handleTouchStart: (e: react.TouchEvent<Element>) => void;
325
+ handleTouchEnd: (e: react.TouchEvent<Element>) => void;
326
+ triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
327
+ applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
328
+ filterFormatItem(item: any, displayName: any, childIndex: any): any;
329
+ renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
330
+ renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
331
+ renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
332
+ renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
333
+ renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
334
+ renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
335
+ renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
336
+ renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
337
+ renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
338
+ renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
339
+ renderClipPath(): react.JSX.Element;
340
+ getXScales(): {
341
+ [x: string]: Function | recharts_types_util_types.ScaleType;
342
+ };
343
+ getYScales(): {
344
+ [x: string]: Function | recharts_types_util_types.ScaleType;
345
+ };
346
+ getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
347
+ getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
348
+ getItemByXY(chartXY: {
349
+ x: number;
350
+ y: number;
351
+ }): {
352
+ graphicalItem: any;
353
+ payload: any;
354
+ };
355
+ renderMap: {
356
+ CartesianGrid: {
357
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
358
+ once: boolean;
359
+ };
360
+ ReferenceArea: {
361
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
362
+ };
363
+ ReferenceLine: {
364
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
365
+ };
366
+ ReferenceDot: {
367
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
368
+ };
369
+ XAxis: {
370
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
371
+ };
372
+ YAxis: {
373
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
374
+ };
375
+ Brush: {
376
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
377
+ once: boolean;
378
+ };
379
+ Bar: {
380
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
381
+ };
382
+ Line: {
383
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
384
+ };
385
+ Area: {
386
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
387
+ };
388
+ Radar: {
389
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
390
+ };
391
+ RadialBar: {
392
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
393
+ };
394
+ Scatter: {
395
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
396
+ };
397
+ Pie: {
398
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
399
+ };
400
+ Funnel: {
401
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
402
+ };
403
+ Tooltip: {
404
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
405
+ once: boolean;
406
+ };
407
+ PolarGrid: {
408
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
409
+ once: boolean;
410
+ };
411
+ PolarAngleAxis: {
412
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
413
+ };
414
+ PolarRadiusAxis: {
415
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
416
+ };
417
+ Customized: {
418
+ handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
419
+ };
420
+ };
421
+ render(): react.JSX.Element;
422
+ context: unknown;
423
+ setState<K extends keyof recharts_types_chart_types.CategoricalChartState>(state: recharts_types_chart_types.CategoricalChartState | ((prevState: Readonly<recharts_types_chart_types.CategoricalChartState>, props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>) => recharts_types_chart_types.CategoricalChartState | Pick<recharts_types_chart_types.CategoricalChartState, K>) | Pick<recharts_types_chart_types.CategoricalChartState, K>, callback?: () => void): void;
424
+ forceUpdate(callback?: () => void): void;
425
+ readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
426
+ state: Readonly<recharts_types_chart_types.CategoricalChartState>;
427
+ refs: {
428
+ [key: string]: react.ReactInstance;
429
+ };
430
+ shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
431
+ componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
432
+ componentWillMount?(): void;
433
+ UNSAFE_componentWillMount?(): void;
434
+ componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
435
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
436
+ componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
437
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
438
+ }>, "ref">>;
115
439
  getPieProps: RequiredPropGetter<Partial<Recharts.PieProps>, Omit<Recharts.PieProps, "ref">>;
116
440
  };
117
441
  type UsePieChartReturn = ReturnType<typeof usePieChart>;