import * as React from 'react'; import type { HTMLAriaDataAttributes } from '../_util/aria-data-attrs'; import type { SemanticClassNamesType, SemanticStylesType } from '../_util/hooks'; import type { FormatConfig, valueType } from './utils'; export type SemanticName = 'root' | 'content' | 'title' | 'header' | 'prefix' | 'suffix'; export type StatisticClassNamesType = SemanticClassNamesType; export type StatisticStylesType = SemanticStylesType; export interface StatisticRef { nativeElement: HTMLDivElement; } interface StatisticReactProps extends FormatConfig { prefixCls?: string; className?: string; classNames?: StatisticClassNamesType; styles?: StatisticStylesType; rootClassName?: string; style?: React.CSSProperties; value?: valueType; /** @deprecated Please use `styles.content` instead */ valueStyle?: React.CSSProperties; valueRender?: (node: React.ReactNode) => React.ReactNode; title?: React.ReactNode; prefix?: React.ReactNode; suffix?: React.ReactNode; loading?: boolean; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; } export type StatisticProps = HTMLAriaDataAttributes & StatisticReactProps; declare const Statistic: React.ForwardRefExoticComponent, "role"> & StatisticReactProps & React.RefAttributes>; export default Statistic;