/** * NrrdState — Grouped state management for NRRD annotation data. * * Replaces the flat INrrdStates object with 5 semantic sub-groups: * - image: Read-mostly metadata set during NRRD loading * - view: Runtime display/navigation state * - interaction: Mouse/cursor tracking * - sphere: SphereTool-specific data * - flags: Internal operational flags * * Phase 4 of the State Management Refactor. */ import type { IImageMetadata, IViewState, IInteractionState, ISphereState, IInternalFlags } from "../core/types"; export declare class NrrdState { readonly image: IImageMetadata; readonly view: IViewState; readonly interaction: IInteractionState; readonly sphere: ISphereState; readonly flags: IInternalFlags; constructor(baseCanvasesSize?: number, layers?: string[]); /** Set zoom factor with clamping [1, 8] */ setZoomFactor(factor: number): void; /** Reset all sphere state to defaults */ resetSphereState(): void; }