/**
 * @file utils.ts
 * @output Shared utilities for chart components
 * @position Internal helpers; consumed by mark, axis, and interaction components
 */
import type { ScaleBand } from 'd3-scale';
import type { ChartScale } from './types';
/** Type guard for d3 band scales */
export declare function isBandScale(scale: ChartScale): scale is ScaleBand<string>;
/**
 * Get the x pixel position for a datum using the chart's xKey and xScale.
 * For band scales, returns the center of the band.
 */
export declare function xPixel(d: Record<string, unknown>, xKey: string, xScale: ChartScale): number;
//# sourceMappingURL=utils.d.ts.map