import type { D3InterpolateName } from '../colors'; import { type Vec2 } from '../math'; import type { ColorRangeSymmetry } from './coloring'; import type { SliceResult } from './slice'; export type VolumeSliceMode = `both` | `contours` | `filled`; export declare function resolve_slice_color_range(slice: Pick, color_range?: Vec2, symmetric?: ColorRangeSymmetry): Vec2; export declare function slice_to_rgba(slice: Pick, colormap: D3InterpolateName, color_range: Vec2, out?: Uint8ClampedArray): Uint8ClampedArray; export declare function resolve_contour_thresholds(color_range: Vec2, contour_levels: number | number[]): number[];