/** * Copyright (c) 2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * @author Tadej Satler */ import { Volume } from '../../../mol-model/volume.js'; /** Which voxels the current view polygons select: `1` selected, `0` not. */ export interface SelectionStore { selected: Uint8Array; /** Bumped on every change; mirrored into the color theme to force a recolor. */ version: number; } /** Accessor for the `SelectionStore` attached to a volume (pattern of `BodyLabels`). */ export declare const MaskSelection: { get(volume: Volume): SelectionStore | undefined; /** Returns the existing store or attaches a fresh, empty one. */ ensure(volume: Volume): SelectionStore; clear(volume: Volume): void; };