import { render } from '../render';
import { TickFactory } from './ticks';
import { Axis, AxisProps, RenderResult, AxisState, ParsedAxisState } from './axis';

export declare class Canvas implements Axis {
    ctx: render.Context;
    state: ParsedAxisState;
    tickFactory: TickFactory;
    constructor(ctx: render.Context, state: ParsedAxisState);
    setState(state: AxisState): void;
    render(props: AxisProps): RenderResult;
    drawBottom(ctx: AxisProps): RenderResult;
    drawTop(ctx: AxisProps): RenderResult;
    drawLeft(ctx: AxisProps): RenderResult;
    drawRight(ctx: AxisProps): RenderResult;
    private drawLine;
    private drawTicks;
    private maybeDrawGrid;
}
//# sourceMappingURL=canvas.d.ts.map