import * as React from "react"; import { ScaleLinear } from "d3"; interface YAxisProps { scale: ScaleLinear; axisWidthUpdated?: (labelMaxWidth: number) => void; tickFormat?: (value: number) => string; ticks?: number; } declare class YAxis extends React.Component { private axis; componentDidMount(): void; componentDidUpdate(prevProps: YAxisProps): void; updateAxis(): void; render(): JSX.Element; } export default YAxis;