import type { OutlierStrategy, PlotDrawFrame, PlotDrawScaleConfig } from "./types"; export declare const CANPLOT_LAYER: { readonly TOP: 400; readonly MIDDLE: 300; readonly BOTTOM: 200; readonly BACKGROUND: 100; }; export declare class FrameDrawer { private _frame; _updateFrame(frame: PlotDrawFrame): void; get frame(): PlotDrawFrame; get ctx(): CanvasRenderingContext2D; clampXPosToChartArea: (x: T, space?: "canvas" | "css") => T | number; clampYPosToChartArea: (y: T, space?: "canvas" | "css") => T | number; valToPos: (value: number, scaleId: string, space?: "canvas" | "css") => number | null; valToPxDistance: (value: number, scaleId: string, space?: "canvas" | "css") => number | null; valFits: (value: number, scaleId: string) => boolean; getScale: (scaleId: string) => PlotDrawScaleConfig | null; valToPosWithStrategy: (value: number, scaleId: string, space: "canvas" | "css" | undefined, strategy: OutlierStrategy) => number | null; } //# sourceMappingURL=FrameDrawer.d.ts.map