import type { Types, utilities } from '@cornerstonejs/core'; export type LabelmapFrame = { map: utilities.RLEVoxelMap; } | { data: ArrayLike; }; export type SegmentBounds = { min: Types.Point3; max: Types.Point3; }; export type LabelmapBlock = { start: Types.Point3; dimensions: Types.Point3; }; export declare function findSegmentBounds(dimensions: Types.Point3, getFrame: (k: number) => LabelmapFrame, segmentIndices: number[]): Promise>; export declare function getSegmentBlock({ min, max }: SegmentBounds, dimensions: Types.Point3): LabelmapBlock; export declare function cropLabelmapToBlock(dimensions: Types.Point3, getFrame: (k: number) => LabelmapFrame, ArrayType: new (length: number) => Types.PixelDataTypedArray, { start, dimensions: blockDimensions }: LabelmapBlock): Promise;