import type { Datum } from "../shared/datumTypes";
import * as React from "react";
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
import type { LegendInteractionMode } 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 SwimlaneChartProps<TDatum extends Datum = Datum> extends BaseChartProps {
    /** Data array. Omit for push API mode. */
    data?: TDatum[];
    /** Accessor for lane categories (swim lanes). Default "category". */
    categoryAccessor?: ChartAccessor<TDatum, string>;
    /** Accessor for item subcategory (color grouping within lanes). Required. */
    subcategoryAccessor: ChartAccessor<TDatum, string>;
    /** Accessor for item size/duration. Default "value". */
    valueAccessor?: ChartAccessor<TDatum, number>;
    /** Orientation: "horizontal" renders lanes as rows (default), "vertical" as columns. */
    orientation?: "vertical" | "horizontal";
    /** Label for the category axis */
    categoryLabel?: string;
    /** Label for the value axis */
    valueLabel?: string;
    /** Format function for value axis ticks */
    valueFormat?: (d: number | string) => string;
    /** Color accessor — defaults to subcategoryAccessor */
    colorBy?: ChartAccessor<TDatum, string>;
    /** Color scheme for subcategories */
    colorScheme?: string | string[];
    /** Padding between lanes in pixels */
    barPadding?: number;
    /** Enable hover annotations */
    enableHover?: boolean;
    /** Show grid lines */
    showGrid?: boolean;
    /** Show category axis tick labels */
    showCategoryTicks?: boolean;
    /** Show legend */
    showLegend?: boolean;
    /** Legend interaction mode */
    legendInteraction?: LegendInteractionMode;
    /** Legend position */
    legendPosition?: "right" | "left" | "top" | "bottom";
    /** Tooltip configuration */
    tooltip?: TooltipProp;
    /** Annotation objects */
    annotations?: Datum[];
    /** Enable brush on the value axis */
    brush?: boolean;
    /** Callback when brush selection changes */
    onBrush?: (extent: {
        r: [number, number];
    } | null) => void;
    /** LinkedCharts brush integration */
    linkedBrush?: string | {
        name: string;
        rField?: string;
    };
    /** Custom formatter for category tick labels */
    categoryFormat?: CategoryFormatFn;
    /** Custom tick values for the value axis. Forces specific values instead of d3 auto-ticks. */
    rTickValues?: number[];
    /** Align first value tick label to start, last to end. Prevents clipping at chart edges. */
    tickLabelEdgeAlign?: boolean;
    /** Pass-through props to StreamOrdinalFrame */
    frameProps?: Partial<Omit<StreamOrdinalFrameProps, "data" | "size">>;
}
export declare const SwimlaneChart: {
    <TDatum extends Datum = Datum>(props: SwimlaneChartProps<TDatum> & React.RefAttributes<RealtimeFrameHandle>): React.ReactElement | null;
    displayName?: string;
};
