import { AnyScale, ScaleValue, TicksSpec } from '@dfnivo/scales'; import { CompleteTheme } from '@dfnivo/core'; import { CanvasLine } from '@dfnivo/canvas'; export type CanvasGridLineProps = { width: number; height: number; scale: AnyScale; axis: 'x' | 'y'; values?: TicksSpec; theme: CompleteTheme; }; export declare const getCanvasGridLines: ({ width, height, scale, axis, values, theme, }: CanvasGridLineProps) => CanvasLine[]; export declare const useCanvasGridLines: ({ enable, width, height, scale, axis, values, theme, }: CanvasGridLineProps & { enable?: boolean | undefined; }) => CanvasLine[]; export declare const renderGridLinesToCanvas: (ctx: CanvasRenderingContext2D, props: CanvasGridLineProps) => void; //# sourceMappingURL=grid.d.ts.map