import React, { ReactElement, SVGProps } from 'react'; import { ContentType, Props as LabelProps, LabelPosition } from './Label'; import { DataKey, ViewBox } from '../util/types'; interface Data { value?: number | string | Array; payload?: any; parentViewBox?: ViewBox; } interface LabelListProps { id?: string; data?: Array; valueAccessor?: Function; clockWise?: boolean; dataKey?: DataKey; content?: ContentType; textBreakAll?: boolean; position?: LabelPosition; offset?: LabelProps['offset']; angle?: number; formatter?: Function; } export type Props = SVGProps & LabelListProps; export type ImplicitLabelListType = boolean | ReactElement | ((props: any) => ReactElement) | Props; export declare function LabelList({ valueAccessor, ...restProps }: Props): React.JSX.Element; export declare namespace LabelList { var displayName: string; var renderCallByParent: (parentProps: { children?: React.ReactNode; label?: unknown; }, data: T[], checkPropsLabel?: boolean) => React.JSX.Element[]; } export {};