import { Text } from "."; import * as Chart from "../charts/Chart"; import { Dimensions, Margin } from "../dims"; import { AxisType } from "../types"; import * as Tick from "./AxisTick"; import * as Generic from "./Generic"; import { SVGSelection, Svg } from "./Svg"; export type Info = { show: true; title: string; tickFormat: (d: number) => string; minValue: number; maxValue: number; addTopMargin: boolean; } | { show: false; }; export declare const info: (type: AxisType, chartInfo: Chart.Info) => Info; type G = { x: number; y: number; opacity: number; }; export type Getter = Generic.Getter; export declare const getters: ({ type, title, titleMargin, svg, svgBackgroundColor, dims, tickHeight, ticksCount, tickFormat, minValue, _minValue, maxValue, _maxValue, }: { type: AxisType; title: string; titleMargin: Margin; svg: Svg; svgBackgroundColor: string; dims: Dimensions; tickHeight: number; ticksCount: number; tickFormat: (d: number) => string; minValue: number; _minValue: number | undefined; maxValue: number; _maxValue: number | undefined; }) => Getter; export type Int = Generic.Int; export declare const ints: ({ getters, _getters, _ints, }: Generic.IntsProps) => Int[]; export type Resolved = Generic.Resolved; export declare const resolve: ({ ints, t, }: { ints: Int[]; t: number; }) => Resolved[]; export declare const render: ({ resolved, selection, type, }: { resolved: Resolved[]; selection: SVGSelection; type: AxisType; }) => void; export declare const updateDims: ({ type, dims, svg, maxValue, minValue, titleHeight, tickHeight, ticksCount, tickFormat, addTopMargin, }: { type: AxisType; dims: Dimensions; svg: Svg; minValue: number; maxValue: number; titleHeight: number; tickHeight: number; ticksCount: number; tickFormat: (d: number) => string; addTopMargin: boolean; }) => void; export declare const getTicksCount: (size: number) => number; export declare const getWidth: ({ svg, ticksCount, tickFormat, minValue, maxValue, }: { svg: Svg; ticksCount: number; tickFormat: (d: number) => string; minValue: number; maxValue: number; }) => number; export {};