import React, { PureComponent } from 'react'; import { StatisticsTabsPropType } from './StatisticsTabs'; import { RadioGroupWithSeparatorPropType } from './RadioGroupWithSeparator'; import { TitleConfigType, ChartConfigType, ChartType } from './StatisticsChartWithTitle'; import { DatasetMultiGroupItemsType, DatasetGroupItemsType } from '../../components/chart/interface'; declare type TabsConfigType = Omit; declare type RadioGroupConfigType = Omit; declare type SingleTabDatasetMultiGroupItemsType = Array; declare type MultiTabsDatasetMultiGroupItemsType = Array; export interface StatisticsPagePropType { isLoading: boolean; statisticsData: SingleTabDatasetMultiGroupItemsType | MultiTabsDatasetMultiGroupItemsType; chartType: ChartType; showTabs?: boolean; multiTabs: boolean; titleConfig: TitleConfigType | Array; radioGroupConfig: RadioGroupConfigType | Array; chartConfig: ChartConfigType | Array; tabsConfig?: TabsConfigType | Array; onChangeActiveTabKey?: (activeKey: number) => void; onChangeCheckedRadioId?: (checkedId: number) => void; onChangeSelectedIndex?: (selectedIndex: number) => void; } export interface StatisticsPageState { checkedRadioId: number; activeTabKey: number; } export default class StatisticsPage extends PureComponent { static contextType: React.Context & { theme: import("../../styles/themes/ITheme").default; }>; constructor(props: StatisticsPagePropType); onChangeActiveTabKey: (key: number) => void; onChangeCheck: (checkedRadioId: number) => void; createLoading: () => JSX.Element; createStatisticsChartWithTitle: () => JSX.Element; createStatisticsTabs(): JSX.Element | null; createRadioGroupWithSeparator(): JSX.Element; render(): JSX.Element; } export {};