import type { Action } from "sprotty-protocol"; import type { CreateConnectionHoverData } from "./createConnectionHoverData.js"; import type { CommandExecutionContext, CommandReturn } from "sprotty"; import { Command } from "sprotty"; /** * Action to update the connection preview based on the current mouse position and/or shift status */ export interface UpdateCreateConnectionHoverDataAction extends Action { kind: typeof UpdateCreateConnectionHoverDataAction.KIND; /** * The data */ data?: CreateConnectionHoverData; } export declare namespace UpdateCreateConnectionHoverDataAction { /** * Kind of UpdateCreateConnectionHoverDataAction */ const KIND = "updateCreateConnectionHoverDataAction"; } /** * Command for UpdateCreateConnectionHoverDataAction * Updates the connection preview provider of the root element */ export declare class UpdateCreateConnectionHoverDataCommand extends Command { static readonly KIND = "updateCreateConnectionHoverDataAction"; /** * The action to execute */ private action; execute(context: CommandExecutionContext): CommandReturn; undo(_context: CommandExecutionContext): CommandReturn; redo(_context: CommandExecutionContext): CommandReturn; } //# sourceMappingURL=updateCreateConnectionHoverData.d.ts.map