import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export type SparklineVariant = "line" | "bar" | "winloss";
export interface SparklineProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange"> {
    data: number[];
    variant?: SparklineVariant;
    /** Outer pixel width. Default 80. */
    width?: number;
    /** Outer pixel height. Default 24. */
    height?: number;
    /** Stroke / bar color. Default `var(--ods-accent)`. */
    stroke?: string;
    /** Area fill color (line variant only). When truthy, paints under the line. */
    fill?: string;
    /** Smooth curve (line variant only). Default true. */
    smooth?: boolean;
    /** Draw a dot at the LAST data point — useful "this is now" indicator. */
    showDot?: boolean;
    /**
     * Highlight a specific data point. If omitted and `showDot` is true,
     * the last point is highlighted. Pass -1 to suppress the dot when
     * `showDot` is also true.
     */
    highlightIndex?: number;
    /** Horizontal reference line at a specific value (e.g. SLA target). */
    baseline?: number;
    /** Color for the baseline (and below-baseline winloss bars). */
    baselineColor?: string;
    /**
     * winloss: values strictly above this go "up" (success), strictly
     * below go "down" (failure), exactly equal hide. Default 0.
     */
    threshold?: number;
    /** Color for "down" bars in winloss mode. Default failed-fg. */
    downColor?: string;
    /** Optional per-point labels used in the native hover title. */
    labels?: string[];
    /** Format the numeric value in the hover title. */
    formatValue?: (value: number) => string;
    /** Suppress the mount animation. */
    disableAnimation?: boolean;
    /** Accessible label — auto-generated when omitted. */
    "aria-label"?: string;
    /** Optional content rendered when there's no data (instead of returning null). */
    emptyState?: ReactNode;
}
export declare const Sparkline: import("react").ForwardRefExoticComponent<SparklineProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Sparkline.d.ts.map