import type { App } from '../../App'; import type { Group } from '../../shapes/Group'; import type { DiagramEditorHandle, DiagramEditorOptions } from './types'; /** Install draw.io-style editing on a diagram group. */ export declare function installDiagramEditor(app: App, root: Group, options?: DiagramEditorOptions): DiagramEditorHandle; /** Remove diagram editor overlays and listeners. */ export declare function uninstallDiagramEditor(root: Group): void; export { DiagramEditor } from './DiagramEditor'; export type { DiagramEditorHandle, DiagramEditorOptions, DiagramEditorTool } from './types'; export { normalizeDegrees, pointerAngleDegrees, rotatedCardCenter, setRotationAroundCenter, snapDegrees, } from './rotate';