import { __name } from "../../_virtual/_rolldown/runtime.mjs"; import { RelationshipsBrowserActorRef } from "../relationships-browser/actor.mjs"; import { Rect } from "@xyflow/system"; import { DiagramView, Fqn, NodeId } from "@likec4/core/types"; import { ActorRef, SnapshotFrom, StateMachine } from "xstate"; //#region src/overlays/element-details/actor.d.ts export type ElementDetailsInput = { subject: Fqn; currentView: DiagramView; initiatedFrom?: { node?: NodeId; clientRect?: Rect; }; }; export type Context = { subject: Fqn; currentView: DiagramView; initiatedFrom: { node: NodeId | null; clientRect: Rect | null; }; }; export type Events = { type: 'change.subject'; subject: Fqn; } | { type: 'close'; }; export interface ElementDetailsLogic extends StateMachine {} export type ElementDetailsSnapshot = SnapshotFrom; export interface ElementDetailsActorRef extends ActorRef {} //#endregion