/** * Copyright (c) 2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Tadej Satler */ import { Volume } from '../../../../mol-model/volume.js'; /** Recomputes min/max/mean/sigma of a volume whose voxel data was edited in place. */ export declare function recomputeStats(volume: Volume): void; /** * Drops everything cached on the volume (custom properties, GPU textures, derived data) after * its voxel data changed, keeping only the body labels. */ export declare function clearVolumeCaches(volume: Volume): void; /** * Zeroes face-connected components of voxels >= `thresholdAbs` that are smaller than * `minVoxels`, editing the volume data in place; refreshes its stats and drops cached derived * data (labels are kept). Returns the number of voxels zeroed. */ export declare function removeDustInPlace(volume: Volume, minVoxels: number, thresholdAbs: number): number; /** * Mirrors the volume along X, editing its data in place, to fix a map stored with the opposite * handedness; drops cached derived data (labels are kept). Mirroring only moves voxels, so the * grid stats stay valid. */ export declare function flipHandednessInPlace(volume: Volume): void;