import { type StyleProp, type ViewStyle } from "../../style/index.js"; import { type SparklineSkin } from "./sparkline.styles.js"; export type Tone = "primary" | "success" | "destructive" | "muted"; export type Size = "compact" | "default" | "tall"; export interface SparklineProps { /** The series to plot; each value becomes one bar, sized against the max. */ values: number[]; primary?: boolean; success?: boolean; destructive?: boolean; muted?: boolean; compact?: boolean; tall?: boolean; /** A continuous 2px trend line with an area wash and end marker, instead of the bar strip. */ line?: boolean; /** Accessible summary (e.g. "requests, last 11 days"). */ accessibilityLabel?: string; /** E2E hook forwarded to the root element. */ testID?: string; /** For sizing/composition only (e.g. maxWidth); not a styling escape hatch. */ style?: StyleProp; } /** Build a Sparkline from a platform skin. */ export declare function createSparkline(skin: SparklineSkin): (props: SparklineProps) => import("react").JSX.Element; //# sourceMappingURL=sparkline.shared.d.ts.map