import * as React from "react";
import type { ScaleLinear } from "d3-scale";
import type { MarginalConfig, MarginalType } from "./types";
export type MarginalOrient = "top" | "bottom" | "left" | "right";
export interface MarginalGraphicsProps {
    orient: MarginalOrient;
    config: MarginalConfig;
    /** Raw numeric values along the relevant axis */
    values: number[];
    /** The chart's scale for the axis this marginal summarizes */
    scale: ScaleLinear<number, number>;
    /** Available pixel space in the margin (perpendicular to axis) */
    size: number;
    /** Chart width (top/bottom) or height (left/right) */
    length: number;
}
/** Resolve a string shorthand or full config into a MarginalConfig */
export declare function normalizeMarginalConfig(input: MarginalConfig | MarginalType): MarginalConfig;
export declare function MarginalGraphics({ orient, config: rawConfig, values, scale, size, length }: MarginalGraphicsProps): React.JSX.Element | null;
