import { SChildElementImpl } from "sprotty"; import type { EditSpecification, Element } from "@hylimo/diagram-common"; import type { SRoot } from "./sRoot.js"; import type { Matrix } from "transformation-matrix"; /** * Base class for all elements */ export declare abstract class SElement extends SChildElementImpl implements Element { children: SElement[]; /** * The edit specification for this element */ edits: EditSpecification; get root(): SRoot; /** * Creates a cached property on this element * * @param name the name of the property * @param initializer initializer for the property */ protected cachedProperty(name: string, initializer: () => Exclude): void; /** * Gets a transformation matrix which can be applied to mouse events * * @returns the transformation matrix */ getMouseTransformationMatrix(): Matrix; } //# sourceMappingURL=sElement.d.ts.map