import React from 'react'; interface TickStyleProps { index?: number; majorTickStrokeColor?: string; majorTickStrokeWidth?: number; majorTickStrokeOpacity?: number; useDashedTicks?: boolean; majorTickLabelFontSize?: string | number; majorTickLabelFontFamily?: string; majorTickLabelLineHeight?: string | number; majorTickLabelFontWeight?: string | number; majorTickLabelOpacity?: number; majorTickFillColor?: string; textAnchor?: 'start' | 'middle' | 'end' | 'inherit'; centerLabelOnTick?: boolean; } export interface MajorTickProps extends TickStyleProps { x1?: number; y1?: number; x2?: number; y2?: number; showLabels?: boolean; label?: string | number; labelX?: number; labelY?: number; } export interface MajorTicksProps extends Omit { width: number; height: number; startX: number; startY: number; min?: number; max?: number; majorUnit?: string | number; orientation?: string; showLabels?: boolean; usePercentageRange?: boolean; labelOffset?: number; ticksOutside?: boolean; } export declare const MajorTick: ({ index, x1, y1, x2, y2, showLabels, label, labelX, labelY, textAnchor, majorTickStrokeColor, majorTickStrokeWidth, majorTickStrokeOpacity, majorTickFillColor, majorTickLabelFontSize, majorTickLabelFontFamily, majorTickLabelLineHeight, majorTickLabelFontWeight, majorTickLabelOpacity, useDashedTicks, centerLabelOnTick, }: MajorTickProps) => React.ReactElement; /** * calculate position for each major tick * @method positionMajorTick * @param {Object} input * @param {Number} input.width * @param {Number} input.height * @param {Number} input.startX start x for rendering the first major tick * @param {Number} input.startY start y for rendering the first major tick * @param {String} input.orientation * @param {Number} input.numOfTicks how many ticks need to render * @param {Number} input.i index of major tick * @return {Object} MajorTick positions */ export declare const positionMajorTick: ({ width, height, startX, startY, orientation, numOfTicks, i, labelOffset, ticksOutside, }: { width: number; height: number; startX: number; startY: number; orientation: string; numOfTicks: number; i: number; labelOffset?: number; ticksOutside?: boolean; }) => { x1: number; y1: number; x2: number; y2: number; labelX: number; labelY: number; }; declare const MajorTicks: (props: MajorTicksProps) => React.ReactElement; export default MajorTicks; //# sourceMappingURL=GaugeMajorTicks.d.ts.map