import type { DiagramImplementation } from "../diagramImplementation.js"; import type { SharedDiagramUtils } from "../../sharedDiagramUtils.js"; import { DiagramImplementationManager } from "../diagramImplementationManager.js"; import type { RemoteMessagePayload } from "@hylimo/diagram-protocol"; /** * Manages the layouted diagrams. This is the remote implementation. * If no remote language servers are registered, it falls back to the local implementation. */ export declare class RemoteDiagramImplementationManager extends DiagramImplementationManager { private readonly utils; /** * Lookup for available remote language servers. */ private readonly remoteLanguageServers; /** * Creats a new RemoteLayoutedDiagramManager. * * @param util required to layout diagrams */ constructor(utils: SharedDiagramUtils); getNewDiagramImplementation(id: string, old?: DiagramImplementation): DiagramImplementation; protected handleNotification(message: RemoteMessagePayload, from: number): Promise; protected handleRequest(_message: RemoteMessagePayload): Promise; sendRequest(payload: RemoteMessagePayload, to: number): Promise; } //# sourceMappingURL=remoteDiagramImplementationManager.d.ts.map