import type { Datum } from "../shared/datumTypes";
import * as React from "react";
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
import type { LegendInteractionMode, LegendPosition } from "../shared/hooks";
import type { BaseChartProps, ChartAccessor, CategoryFormatFn } from "../shared/types";
import { type TooltipProp } from "../../Tooltip/Tooltip";
import type { RealtimeFrameHandle } from "../../realtime/types";
export interface DotPlotProps<TDatum extends Datum = Datum> extends BaseChartProps {
    data?: TDatum[];
    categoryAccessor?: ChartAccessor<TDatum, string>;
    valueAccessor?: ChartAccessor<TDatum, number>;
    orientation?: "vertical" | "horizontal";
    categoryLabel?: string;
    valueLabel?: string;
    valueFormat?: (d: number | string) => string;
    colorBy?: ChartAccessor<TDatum, string>;
    colorScheme?: string | string[];
    /** Category ordering. Default (`undefined`) resolves to `"auto"`, which
     *  preserves insertion order while streaming and falls through to
     *  value-desc on static data — the recommended choice when using the
     *  push API so categories don't jump around as values fluctuate.
     *  `true` forces value-desc regardless of source. `"asc"` / `"desc"`
     *  sorts by total value. `false` for insertion order regardless of
     *  source. Function comparators receive category name strings (not
     *  row objects) and run against the category list on the axis. */
    sort?: boolean | "asc" | "desc" | "auto" | ((a: string, b: string) => number);
    dotRadius?: number;
    categoryPadding?: number;
    enableHover?: boolean;
    showGrid?: boolean;
    showCategoryTicks?: boolean;
    showLegend?: boolean;
    legendInteraction?: LegendInteractionMode;
    legendPosition?: LegendPosition;
    tooltip?: TooltipProp;
    annotations?: Datum[];
    /** Custom formatter for category tick labels */
    categoryFormat?: CategoryFormatFn;
    frameProps?: Partial<Omit<StreamOrdinalFrameProps, "data" | "size">>;
}
export declare const DotPlot: {
    <TDatum extends Datum = Datum>(props: DotPlotProps<TDatum> & React.RefAttributes<RealtimeFrameHandle>): React.ReactElement | null;
    displayName?: string;
};
