import { AxisScale, Selection as D3Selection } from 'd3'; import { Component } from '../component'; import { ScaleTypes, RenderTypes } from '../../interfaces/enums'; import { ChartModel } from '../../model/model'; export declare class Axis extends Component { type: string; renderType: RenderTypes; margins: any; truncation: { left: boolean; right: boolean; top: boolean; bottom: boolean; }; scale: AxisScale; scaleType: ScaleTypes; constructor(model: ChartModel, services: any, configs?: any); render(animate?: boolean): void; /** Fit the title to its axis while preserving its full accessible name and hover text. */ private truncateTitle; addEventListeners(): void; getInvisibleAxisRef(): D3Selection; getTitleRef(): D3Selection; getNumberOfFittingTicks(size: number, tickSize: number, spaceRatio: number): number; destroy(): void; }