import type { Context2D } from "../charts/canvas-types"; import type { PlotRect } from "../layout/plot-layout"; export declare const TICK_SIZE = 5; /** * One horizontal row of numeric axis ticks + labels at CSS-pixel `axisY`. * `side` selects tick direction (down into the bottom margin or up into * the top margin) and the corresponding label baseline. Caller owns * `strokeStyle`, `fillStyle`, `font`, and `lineWidth`. */ export declare function drawXTickRow(ctx: Context2D, plot: PlotRect, ticks: number[], axisY: number, side: "top" | "bottom", xToPixel: (v: number) => number, format: (v: number) => string): void; /** * One vertical column of numeric axis ticks + labels at CSS-pixel `axisX`. * `side` selects tick direction (out toward the left or right margin) and * the corresponding label alignment. Caller owns styling state. */ export declare function drawYTickColumn(ctx: Context2D, plot: PlotRect, ticks: number[], axisX: number, side: "left" | "right", yToPixel: (v: number) => number, format: (v: number) => string): void; /** * Vertical gridlines at numeric X ticks, clipped to `plot`. */ export declare function drawGridlinesX(ctx: Context2D, plot: PlotRect, ticks: number[], xToPixel: (v: number) => number): void; /** * Horizontal gridlines at numeric Y ticks, clipped to `plot`. */ export declare function drawGridlinesY(ctx: Context2D, plot: PlotRect, ticks: number[], yToPixel: (v: number) => number): void;