import { GanttViewMode } from '../functional-components/gantt/types/gantt-types';
interface UseGanttMathProps {
    startDate: Date;
    pixelPerUnit: number;
    rowHeight: number;
    viewMode?: GanttViewMode;
}
/**
 * useGanttMath provides core geometric calculations for the Gantt chart.
 * It translates date/time and index data into SVG coordinates (X, Y)
 * based on the current view mode and pixel scale.
 */
export declare function useGanttMath({ startDate, pixelPerUnit, rowHeight, viewMode, }: UseGanttMathProps): {
    /**
     * Translates a Date into an X coordinate relative to the Gantt start.
     * @param date - The date to convert.
     * @returns The X coordinate in pixels.
     */
    getX: (date: Date) => number;
    /**
     * Calculates the width in pixels between two dates.
     * @param start - The start date.
     * @param end - The end date.
     * @returns The width in pixels.
     */
    getWidth: (start: Date, end: Date) => number;
    /**
     * Translates a row index into a Y coordinate.
     * @param rowIndex - The zero-based row index.
     * @returns The Y coordinate in pixels.
     */
    getY: (rowIndex: number) => number;
    /** The configured height of a single row in pixels. */
    rowHeight: number;
};
export {};
//# sourceMappingURL=useGanttMath.d.ts.map