import { Theme, PartialTheme } from '@nivo/theming'; import { ScaleValue, AnyScale, TicksSpec } from '@nivo/scales'; import { AxisLegendPosition, CanvasAxisProps, ValueFormatter } from './types'; export declare const renderAxisToCanvas: (ctx: CanvasRenderingContext2D, { axis, scale, x, y, length, ticksPosition, tickValues, tickSize, tickPadding, tickRotation, format: _format, legend, legendPosition, legendOffset, theme, style, }: { axis: "x" | "y"; scale: AnyScale; x?: number; y?: number; length: number; ticksPosition: "before" | "after"; tickValues?: TicksSpec; tickSize?: number; tickPadding?: number; tickRotation?: number; format?: string | ValueFormatter; legend?: string; legendPosition?: AxisLegendPosition; legendOffset?: number; theme: Theme; style?: PartialTheme["axis"]; }) => void; export declare const renderAxesToCanvas: (ctx: CanvasRenderingContext2D, { xScale, yScale, width, height, top, right, bottom, left, theme, }: { xScale: AnyScale; yScale: AnyScale; width: number; height: number; top?: CanvasAxisProps | null; right?: CanvasAxisProps | null; bottom?: CanvasAxisProps | null; left?: CanvasAxisProps | null; theme: Theme; }) => void; export declare const renderGridLinesToCanvas: (ctx: CanvasRenderingContext2D, { width, height, scale, axis, values, }: { width: number; height: number; scale: AnyScale; axis: "x" | "y"; values?: TicksSpec; }) => void; //# sourceMappingURL=canvas.d.ts.map