import type { SnapLinesStateManager } from "../../features/snap/snapLinesStateManager.js"; import type { SCanvas } from "../../model/canvas/sCanvas.js"; import type { SRoot } from "../../model/sRoot.js"; import type { VNode } from "snabbdom"; /** * Base class for RootView and CanvasView */ export declare abstract class CanvasLikeView { /** * ID of the arrow marker */ static readonly SNAP_ARROW_MARKER_ID = "snap-arrow"; /** * The manager for the snap lines */ protected snapLinesStateManager: SnapLinesStateManager; /** * Renders the snap lines for the given model * * @param model the model to render the snap lines for * @returns the rendered snap lines */ protected renderSnapLines(model: Readonly): VNode[]; /** * Renders a single snap line. * * @param line the snap line to render * @returns the rendered snap line as a VNode */ private renderSnapLine; /** * Renders a point on a snap line. * * @param point the point to render * @param zoom the current zoom level * @returns the rendered snap line point as a VNode */ private renderSnapLinePoint; /** * Renders two lines in the middle of the gap snap line. * * @param line the gap snap line to render * @param zoom the current zoom level * @returns an array of rendered gap snap lines as VNodes */ private renderGapSnapLines; } //# sourceMappingURL=canvasLikeView.d.ts.map