import { EdgeId } from '@likec4/core/types'; import { ActorLogicFrom, ActorRefFrom, SnapshotFrom, StateMachine, NonReducibleUnknown, EventObject, MetaObject } from 'xstate'; export type RelationshipPopoverActorEvent = { type: 'xyedge.mouseEnter'; edgeId: EdgeId; } | { type: 'xyedge.mouseLeave'; } | { type: 'xyedge.select'; edgeId: EdgeId; } | { type: 'xyedge.unselect'; } | { type: 'close'; } | { type: 'dropdown.mouseEnter'; } | { type: 'dropdown.mouseLeave'; }; export interface RelationshipPopoverActorContext { edgeId: EdgeId | null; /** * True if the edge was selected */ edgeSelected: boolean; /** * The timeout for opening the popover * If it was closed recently (<1.5s), it will be 300ms * Otherwise, it will be 800ms */ openTimeout: number; } declare const _actorLogic: StateMachine; export interface RelationshipPopoverActorLogic extends ActorLogicFrom { } export declare const RelationshipPopoverActorLogic: RelationshipPopoverActorLogic; export type RelationshipPopoverActorSnapshot = SnapshotFrom; export interface RelationshipPopoverActorRef extends ActorRefFrom { } export {};