import type { ScaleLinear, ScaleLogarithmic, ScaleTime } from 'd3-scale'; import type { CSSProperties, ReactNode, Ref } from 'react'; import type { Tick } from 'react-d3-utils'; import type { Position, TickLabelFormat, TickPosition } from '../../types.js'; export interface AxisCommonProps { hidden: boolean; plotWidth: number; plotHeight: number; displayPrimaryGridLines: boolean; label?: ReactNode; labelStyle?: CSSProperties; tickLabelStyle?: CSSProperties; position: Position; lineStyle?: CSSProperties; hiddenLine?: boolean; primaryGridLineStyle?: CSSProperties; displaySecondaryGridLines?: boolean; secondaryGridLineStyle?: CSSProperties; hiddenTicks?: boolean; tickPosition?: TickPosition; primaryTickLength: number; primaryTickStyle?: CSSProperties; innerOffset: number; secondaryTickLength: number; scale: Scales; secondaryTickStyle?: CSSProperties; } export type Scales = ScaleLinear | ScaleLogarithmic | ScaleTime; export interface AxisRendererProps extends AxisCommonProps { axisRef: Ref; primaryTicks: TicksType[]; } export interface AxisChildProps extends AxisCommonProps { tickLabelFormat?: TickLabelFormat; } export type TicksType = Tick | Tick; //# sourceMappingURL=types.d.ts.map