import type { Point, RelativePoint } from "@hylimo/diagram-common"; import type { LinearAnimatable } from "../../features/animation/model.js"; import { SCanvasPoint } from "./sCanvasPoint.js"; /** * Model for RelativePoint */ export declare class SRelativePoint extends SCanvasPoint implements RelativePoint, LinearAnimatable { type: typeof RelativePoint.TYPE; readonly animatedFields: Set; /** * The relative x coordinate of the element */ offsetX: number; /** * The relative y coordinate of the element */ offsetY: number; /** * The id of the point/element the x-coordinate is relative to */ targetX: string; /** * The id of the point the y-coordinate is relative to */ targetY: string; /** * Position of the x-target */ targetXPosition: Point; /** * Position of the y-target */ targetYPosition: Point; constructor(); get dependencies(): string[]; } /** * Position with an origin * Useful for rendering the */ export interface PointWithTarget extends Point { /** * The target point */ target: Point; } //# sourceMappingURL=sRelativePoint.d.ts.map