import React from 'react'; import { TextStyle } from 'react-native'; import { Scale } from '../utils/scales'; export interface AxisProps { scale: Scale; orientation: 'left' | 'right' | 'top' | 'bottom'; length: number; offset?: { x?: number; y?: number; }; tickCount?: number; tickSize?: number; tickPadding?: number; tickFormat?: (value: any) => string; label?: string; labelOffset?: number; stroke?: string; strokeWidth?: number; showLine?: boolean; showTicks?: boolean; showLabels?: boolean; avoidLabelOverlap?: boolean; rotateLabels?: boolean; style?: any; tickLabelColor?: string; tickLabelFontSize?: number; tickLabelStyle?: TextStyle; /** Width of the (centered) tick-label box. Wider values prevent long labels from * wrapping/clipping. Defaults to 72 for horizontal axes, 30 for vertical. */ tickLabelWidth?: number; labelColor?: string; labelFontSize?: number; labelStyle?: TextStyle; /** Width of the axis-title box. Widen it so a long title stays on one line. */ labelWidth?: number; } export declare const Axis: React.FC;