import { Fqn } from '@likec4/core'; import { RelationshipsBrowserActorRef, RelationshipsBrowserSnapshot, Context, Events } from './actor'; import { LayoutRelationshipsViewResult } from './layout'; import { Context } from 'react'; export declare const RelationshipsBrowserActorContext: Context; export declare function useRelationshipsBrowserActor(): RelationshipsBrowserActorRef; export declare function useRelationshipsBrowserState(selector: (state: RelationshipsBrowserSnapshot) => T, compare?: (a: T, b: T) => boolean): T; export declare function useRelationshipsBrowser(): { actor: RelationshipsBrowserActorRef; readonly rootElementId: string; getState: () => Context; send: (event: Events) => void; updateView: (layouted: LayoutRelationshipsViewResult) => void; changeScope: (scope: "global" | "view") => void; navigateTo: (subject: Fqn, fromNode?: string) => void; fitDiagram: () => void; close: () => void; };