import type { Arrayable, ScreenArray, FloatArray } from "../../core/types"; import { Model } from "../../model"; import { Scale } from "../scales/scale"; import { Range } from "../ranges/range"; import type { CartesianFrameView } from "../canvas/cartesian_frame"; import type * as p from "../../core/properties"; export declare class CoordinateTransform { readonly x_scale: Scale; readonly y_scale: Scale; readonly x_source: Range; readonly y_source: Range; readonly ranges: readonly [Range, Range]; readonly scales: readonly [Scale, Scale]; constructor(x_scale: Scale, y_scale: Scale); map_to_screen(xs: Arrayable, ys: Arrayable): [ScreenArray, ScreenArray]; map_from_screen(sxs: Arrayable, sys: Arrayable): [FloatArray, FloatArray]; } export declare namespace CoordinateMapping { type Attrs = p.AttrsOf; type Props = Model.Props & { x_source: p.Property; y_source: p.Property; x_scale: p.Property; y_scale: p.Property; x_target: p.Property; y_target: p.Property; }; } export interface CoordinateMapping extends CoordinateMapping.Attrs { } export declare class CoordinateMapping extends Model { properties: CoordinateMapping.Props; constructor(attrs?: Partial); get x_ranges(): Map; get y_ranges(): Map; private _get_scale; get_transform(frame: CartesianFrameView): CoordinateTransform; } //# sourceMappingURL=coordinate_mapping.d.ts.map