import type { Datum } from "../charts/shared/datumTypes";
import * as React from "react";
import type { OrdinalScales } from "./ordinalTypes";
import type { AnnotationContext } from "../realtime/types";
import type { ReactNode } from "react";
import type { LegendGroup, GradientLegendConfig } from "../types/legendTypes";
interface OrdinalSVGOverlayProps {
    width: number;
    height: number;
    totalWidth: number;
    totalHeight: number;
    margin: {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    scales: OrdinalScales | null;
    showAxes?: boolean;
    showCategoryTicks?: boolean;
    oLabel?: string;
    rLabel?: string;
    oFormat?: (d: string, index?: number) => string | React.ReactNode;
    rFormat?: (d: number) => string;
    /** Custom tick values for the value (r) axis */
    rTickValues?: number[];
    /** Align first tick label to start, last to end */
    tickLabelEdgeAlign?: boolean;
    showGrid?: boolean;
    title?: string | ReactNode;
    legend?: ReactNode | {
        legendGroups: LegendGroup[];
    } | {
        gradient: GradientLegendConfig;
    };
    legendHoverBehavior?: (item: {
        label: string;
    } | null) => void;
    legendClickBehavior?: (item: {
        label: string;
    }) => void;
    legendHighlightedCategory?: string | null;
    legendIsolatedCategories?: Set<string>;
    legendPosition?: "right" | "left" | "top" | "bottom";
    foregroundGraphics?: ReactNode;
    annotations?: Datum[];
    svgAnnotationRules?: (annotation: Datum, index: number, context: AnnotationContext) => ReactNode;
    annotationFrame?: number;
    xAccessor?: string;
    yAccessor?: string;
    annotationData?: Datum[];
    /** When true, grid lines and axis baselines are skipped (rendered by OrdinalSVGUnderlay instead) */
    underlayRendered?: boolean;
    children?: ReactNode;
}
interface OrdinalSVGUnderlayProps {
    width: number;
    height: number;
    totalWidth: number;
    totalHeight: number;
    margin: {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    scales: OrdinalScales | null;
    showAxes?: boolean;
    showGrid?: boolean;
    rFormat?: (d: number) => string;
    rTickValues?: number[];
}
export declare function OrdinalSVGUnderlay(props: OrdinalSVGUnderlayProps): import("react/jsx-runtime").JSX.Element | null;
export declare function OrdinalSVGOverlay(props: OrdinalSVGOverlayProps): import("react/jsx-runtime").JSX.Element | null;
export {};
