import type { Annotation } from "../data/elements"; import type { Icon } from "./layout"; /** * Base interface for all model elements with container navigation. * The eContainer property provides EMF-style parent navigation. */ export interface ModelElement { "xmi:id": string; /** * Reference to the containing element (EMF-style eContainer). * Set automatically during model loading. */ eContainer?: ModelElement; } /** * Base interface for all named elements. * Maps to: ui:NamedElement */ export interface NamedElement extends ModelElement { name: string; sourceId?: string; annotations?: Annotation[]; } /** * Base interface for elements with labels and icons. * Maps to: ui:LabeledElement */ export interface LabeledElement { label?: string; icon?: Icon; } //# sourceMappingURL=base.d.ts.map