import type { SModelElementImpl } from "sprotty"; import { ScrollMouseListener as SprottyScrollMouseListener } from "sprotty"; import type { Action } from "sprotty-protocol"; import type { ToolTypeProvider } from "../toolbox/toolState.js"; import type { KeyState } from "../key-state/keyState.js"; /** * Extends the Sprotty ScrollMouseListener to handle drag move correctly when in drag mode */ export declare class ScrollMouseListener extends SprottyScrollMouseListener { /** * The tool type provider to determine the current tool type */ protected readonly toolTypeProvider: ToolTypeProvider; /** * The key state to check if the space key is pressed */ protected keyState: KeyState; mouseDown(target: SModelElementImpl, event: MouseEvent): (Action | Promise)[]; mouseUp(target: SModelElementImpl, event: MouseEvent): Action[]; } //# sourceMappingURL=scroll.d.ts.map