import { EdgeId, Fqn, ViewId, BBox } from '@likec4/core'; import { RelationshipDetailsActorRef, RelationshipDetailsSnapshot, Events } from './actor'; import { Context } from 'react'; import { GeneralHelpers, ViewportHelperFunctions, ReactFlowStore, ReactFlowActions } from '@xyflow/react'; export declare const RelationshipDetailsActorContext: Context; export declare function useRelationshipDetailsActor(): RelationshipDetailsActorRef; export declare function useRelationshipDetailsState(selector: (state: RelationshipDetailsSnapshot) => T, compare?: (a: NoInfer, b: NoInfer) => boolean): T; export declare function useRelationshipDetails(): { actor: RelationshipDetailsActorRef; readonly rootElementId: string; getState: () => Readonly<{ subject: { edgeId: EdgeId; source?: never; target?: never; } | { source: Fqn; target: Fqn; edgeId?: never; }; viewId: ViewId; xyflow: ( GeneralHelpers & ViewportHelperFunctions & { viewportInitialized: boolean; }) | null; xystore: { getState: () => ReactFlowStore & ReactFlowActions; } | null; initialized: { xydata: boolean; xyflow: boolean; }; xynodes: import("./_types").RelationshipDetailsTypes.Node[]; xyedges: import("./_types").RelationshipDetailsTypes.Edge[]; bounds: BBox; }>; send: (event: Events) => void; navigateTo: (...params: [edgeId: EdgeId] | [source: Fqn, target: Fqn]) => void; fitDiagram: () => void; close: () => void; };