import React, { Component } from 'react'; import type { dh } from '@deephaven/jsapi-types'; import { type CancelablePromise } from '@deephaven/utils'; import './ColumnStatistics.scss'; import { type DisplayColumn } from './IrisGridModel'; import type IrisGridModel from './IrisGridModel'; interface Statistic { operation: string; className?: string; value: unknown; type: string; } interface ColumnStatisticsProps { column: DisplayColumn; model: IrisGridModel; onStatistics: () => void; } interface ColumnStatisticsState { error: unknown; loading: boolean; statistics: readonly Statistic[] | null; numRows: number; } declare class ColumnStatistics extends Component { /** Automatically generate the statistics when the row count is below this threshold */ static AUTO_GENERATE_LIMIT: number; static getStatsLabel(operation: string): string; constructor(props: ColumnStatisticsProps); componentDidMount(): void; componentWillUnmount(): void; cancelablePromise: CancelablePromise | null; maybeGenerateStatistics(): void; handleGenerateStatistics(): void; handleStatistics(stats: dh.ColumnStatistics): void; handleError(error: Error): void; render(): React.ReactElement; } export default ColumnStatistics; //# sourceMappingURL=ColumnStatistics.d.ts.map