import { resolveDotLayout } from './dot-layout.js'; import type { DotLayout } from './dot-layout.js'; import type { ChartValue } from './types.js'; export type { DotLayout, DotLayoutResolveContext } from './dot-layout.js'; export interface CreateDotLayoutOptions { readonly axis: TAxis; readonly anchor: TAnchor; readonly resolve: DotLayout[typeof resolveDotLayout]; } export type DodgeXAnchor = 'left' | 'middle' | 'right'; export type DodgeYAnchor = 'top' | 'middle' | 'bottom'; export interface DodgeOptions { anchor?: TAnchor; /** Empty pixels between neighboring circle edges. Defaults to 1. */ padding?: number; } export type DodgeXOptions = DodgeOptions; export type DodgeYOptions = DodgeOptions; export type DodgeXLayout = DotLayout<'x', TAnchor>; export type DodgeYLayout = DotLayout<'y', TAnchor>; /** Creates a responsive final-pixel layout for one derived dot coordinate. */ export declare function createDotLayout(options: CreateDotLayoutOptions): DotLayout; /** Derives collision-free pixel x positions while preserving scaled y. */ export declare function dodgeX(options?: DodgeXOptions): DodgeXLayout; /** Derives collision-free pixel y positions while preserving scaled x. */ export declare function dodgeY(options?: DodgeYOptions): DodgeYLayout;