import type { IScaleConfig, GanttScaleData, IUnitFormats, IZoomConfig, TLengthUnit, IMarker, IData } from "./types"; import type GanttDataTree from "./GanttDataTree"; import { Day } from "date-fns"; export declare function getMinUnit(scales: IScaleConfig[]): IScaleConfig; export declare const units: string[]; export declare function calcScales(prevStart?: Date, prevEnd?: Date, autoScale?: boolean, minUnit?: string, tasks?: GanttDataTree, markers?: IMarker[], projectStart?: Date, projectEnd?: Date, baselines?: boolean): { _start: Date; _end: Date; }; export declare function resetScales(start: Date, end: Date, lengthUnit: TLengthUnit, width: number, height: number, _weekStart: Day, scales: IScaleConfig[], minLength: number): GanttScaleData | null; export declare function normalizeZoom(zoom: boolean | IZoomConfig, unitFormats: IUnitFormats, scales: IScaleConfig[], cellWidth: number): { zoom: IZoomConfig; scales: IScaleConfig[]; cellWidth: number; }; export declare function zoomScale(zoom: IZoomConfig, step: number, level: number, nextUnit: any, lengthUnit: TLengthUnit, scales: IScaleConfig[], cellWidth: number): { scales: IScaleConfig[]; cellWidth: number; lengthUnit: TLengthUnit; zoom: IZoomConfig; }; export declare function expandScale(minWidth: number, state: Partial): Partial; export declare function calcScaleDate(x: number, state: Partial): Date;