import { DiagramView, Fqn, NodeId } from '@likec4/core/types'; import { Rect } from '@xyflow/system'; import { ActorRef, SnapshotFrom, StateMachine } from 'xstate'; import { RelationshipsBrowserActorRef } from '../relationships-browser/actor'; export type Input = { 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 declare const elementDetailsLogic: ElementDetailsLogic; export type ElementDetailsSnapshot = SnapshotFrom; export interface ElementDetailsActorRef extends ActorRef { } export type { Input as ElementDetailsInput, };