import { IProtected, ICursorPage, IKeyBoardSettings, IAnnotationCallbacks } from "./core/types"; import { NrrdState } from "./coreTools/NrrdState"; import { GuiState } from "./coreTools/GuiState"; /** * CanvasState — Pure state container. * * Holds all shared mutable state that was previously scattered across the * CommToolsData base class. No rendering logic lives here; rendering is * handled by {@link RenderingUtils}. * * Created once by NrrdTools and shared (by reference) with DrawToolCore, * RenderingUtils, DragOperator, and all legacy Tool instances. */ export declare class CanvasState { baseCanvasesSize: number; /** External annotation callbacks — set via draw() options */ annotationCallbacks: IAnnotationCallbacks; /** Whether the keyboard-config dialog is open (suppresses all shortcuts). */ configKeyBoard: boolean; /** Active keyboard shortcut bindings. */ keyboardSettings: IKeyBoardSettings; nrrd_states: NrrdState; gui_states: GuiState; protectedData: IProtected; cursorPage: ICursorPage; constructor(container: HTMLElement, mainAreaContainer: HTMLElement, options?: { layers?: string[]; }); private generateSystemCanvases; private generateLayerTargets; }