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 local implementation. * It does not send any messages to other language servers. */ export declare class LocalDiagramImplementationManager extends DiagramImplementationManager { private readonly utils; /** * Lookup for created layouted diagram implementations */ private readonly implementations; /** * Creates a new LocalLayoutedDiagramManager. * * @param utils required to layout diagrams * @param id the id of this language server */ constructor(utils: SharedDiagramUtils, id: number); protected handleNotification(_message: RemoteMessagePayload, _from: number): Promise; protected handleRequest(message: RemoteMessagePayload, _from: number): Promise; /** * Handles a request to update a diagram. * * @param message the message requesting the update * @returns the response message payload */ private handleUpdateDiagramRequest; /** * Handles a request to generate completion items. * * @param message the message requesting the completion items * @returns the response message payload */ private handleGenerateCompletionItemsRequest; /** * Handles a request to get the source range of an element. * * @param message the message requesting the source range * @returns the response message payload */ private handleGetSourceRangeRequest; /** * Handles a request to render a prediction diagram. * * @param message the message requesting the prediction diagram * @returns the response message payload */ private handleRenderPredictionDiagramRequest; getNewDiagramImplementation(id: string, old?: DiagramImplementation | undefined): DiagramImplementation; } //# sourceMappingURL=localDiagramImplementationManager.d.ts.map