import { ChartSnapshot } from '../chart-context'; import { RangeScales } from '../engine/ranges'; import { ChartSeries } from '../types'; export interface RangeMarkState { descriptor: ChartSeries; color: string; scales: RangeScales; snapshot: ChartSnapshot; /** Group opacity: hidden, dimmed behind focus or inspection, or full. */ opacity: number | string; /** The reveal mask while the entrance sweeps in. */ mask: string | undefined; clipPath: string; /** Like `clipPath`, with headroom above the plot for the tops of marks drawn with depth. */ depthClip: { id: string; x: number; y: number; width: number; height: number; }; reducedMotion: boolean; inspecting: boolean; } export declare function scalesFor(snapshot: ChartSnapshot, series: string): RangeScales; /** Shared state for a mark drawn from a series' fields. */ export declare function useRangeMark(mark: string, series: string, fields: readonly string[], layout: 'column' | 'overlay'): RangeMarkState;