import { ScaleBand, ScaleLinear } from 'd3'; import * as React from 'react'; interface XAxisProps { scale: ScaleBand | ScaleLinear; height: number; tickFormat?: (value: string, index: number) => string; reduceAxisLabels?: (value: string, index: number) => string; rotate?: number; axisHeightUpdated?: (labelMaxWidth: number) => void; xAxisTicksTooltip?: boolean; xAxisTicksTooltipFormat?: (value: string, index: number) => string; } declare class XAxis extends React.Component { private axis; constructor(props: XAxisProps); componentDidMount(): void; componentDidUpdate(prevProps: XAxisProps): void; updateAxis(): void; render(): JSX.Element; private getLabelsMaxHeight; } export default XAxis;