import { EventBus } from "../../../eventBus"; import { ScreenPosition } from "../../../io"; import { DiagramTheme, Node, UIState } from "../../../models"; export declare class UIManager { private state; private eventBus; private theme; autoPanSmoothing: number; constructor(state: UIState, eventBus: EventBus, theme: DiagramTheme); mouseWheel: ({ delta, position, }: { delta: number; position: ScreenPosition; }) => false | undefined; calculateAnimations: (timeCoefficient: number) => boolean | undefined; worldToScreen: ({ position, }: { position: ScreenPosition; }) => ScreenPosition; screenToWorld: ({ position, }: { position: ScreenPosition; }) => ScreenPosition; centerOnNode: ({ node }: { node: Node; }) => void; calculateMinimapPosition: ({ position }: { position: ScreenPosition; }) => { x: number; y: number; } | null; mouseOverMove: ({ position }: { position: ScreenPosition; }) => void; mouseMove: ({ position }: { position: ScreenPosition; }) => void; mouseDrag: ({ position }: { position: ScreenPosition; }) => void; getViewModel(): { pan: { x: number; y: number; }; scale: number; }; LMBUp: ({ position }: { position: ScreenPosition; }) => void; LMBPressed: ({ position }: { position: ScreenPosition; }) => void; panScreen: ({ position }: { position: ScreenPosition; }) => void; panTo: ({ position }: { position: ScreenPosition; }) => void; centerPanTo: ({ position }: { position: ScreenPosition; }) => void; }