import type { Canvas } from "../utils/layout"; export type AxisOptionsFromWidgetX = { xScaleType: "numeric"; label: string; min: number; max: number; tickInterval: number; showGridLines: boolean; showTickLabels: boolean; showTicks?: boolean; labelFormatter?: (value: number) => string; } | { xScaleType: "categoryBand" | "categoryPoint"; label: string; categories: string[]; showGridLines: boolean; showTickLabels: boolean; showTicks?: boolean; }; export type AxisOptionsFromWidgetY = { label: string; min: number; max: number; tickInterval: number; showGridLines: boolean; showTickLabels: boolean; showTicks?: boolean; labelFormatter?: (value: number) => string; }; /** * Sets up a coordinate plane with axes, title, and gridlines using Canvas API. * This function receives a canvas and draws onto it, returning scaling functions. */ export declare function setupCoordinatePlaneBaseV2(data: { width: number; height: number; title: string | null; xAxis: AxisOptionsFromWidgetX; yAxis: AxisOptionsFromWidgetY; }, canvas: Canvas): { toSvgX: (val: number) => number; toSvgY: (val: number) => number; chartArea: { top: number; left: number; width: number; height: number; }; bandWidth?: number; }; //# sourceMappingURL=coordinate-plane-utils.d.ts.map