import { ScaleLinear } from 'd3-scale'; import { Point, Rectangular, TextStyle, TickValueDescription } from '../../typings/domain-types'; export declare const drawLine: (ctx: CanvasRenderingContext2D, data: Point[], color?: string, lineWidth?: number) => void; export declare const drawText: (ctx: CanvasRenderingContext2D, text: string, position?: Point, styles?: TextStyle) => void; export declare const drawYAxis: (ctx: CanvasRenderingContext2D, tickValues: TickValueDescription[], frame: Rectangular, scale: ScaleLinear, resolution?: number, withLine?: boolean, lineColor?: string, formatter?: (v: number, i: number) => string, align?: 'left' | 'right') => void; export declare const drawXAxis: (ctx: CanvasRenderingContext2D, tickValues: number[], frame: Rectangular, scale: ScaleLinear, resolution?: number, withTick?: boolean, lineColor?: string, formatter?: (v: number, i: number) => string, tickColor?: string) => void; //# sourceMappingURL=canvas.d.ts.map