import { BlockProps } from 'victory'; import { BaseChartProps } from '../types/chart'; import { IStackedChartData } from '../types/chartData'; export type useLabelAxisProps = BaseChartProps & { data: IStackedChartData; horizontal?: boolean; minTickLabelXVerticalLength?: number; minTickLabelXHorizontalLength?: number; minTickLabelYLength?: number; textRotationStep?: number; scaleX?: 'time' | 'linear'; scaleY?: 'log' | 'linear' | 'sqrt'; tickLetterSize?: number; }; export declare function useLabelAxis({ data, horizontal, minTickLabelXVerticalLength, minTickLabelXHorizontalLength, minTickLabelYLength, textRotationStep, height, width, padding, scaleX, scaleY, tickLetterSize }: useLabelAxisProps): { maxLabelXLength: number; maxLabelYLength: number; paddingWithLabel: BlockProps; angle: number; textAnchor: string; dy: number; };