import { type StyleProp, type ViewStyle } from "../../style/index.js"; import { type ChartSkin } from "../shared/types.js"; import { type StackedSegment } from "../shared/types.js"; export interface FunnelChartProps { /** Ordered stages, widest first. */ stages: StackedSegment[]; /** Optional heading shown above the funnel. */ title?: string; /** Show each stage as a share of the FIRST stage instead of the conversion * from the previous stage. */ share?: boolean; compact?: boolean; /** Formats stage values (data formatting, not styling). */ formatValue?: (v: number) => string; /** Press-to-inspect: the selected stage index (controlled). Pass null for none. */ selected?: number | null; /** Press-to-inspect: the initially selected stage (uncontrolled). */ defaultSelected?: number; /** Fired when a press selects a stage (or clears it with null). */ onSelect?: (index: number | null) => void; /** E2E hook forwarded to the root element. */ testID?: string; /** Outer layout composition only (width/flex within a parent), never a restyle hook. */ style?: StyleProp; } export declare function createFunnelChart(skin: ChartSkin): (props: FunnelChartProps) => import("react").JSX.Element; //# sourceMappingURL=funnel-chart.shared.d.ts.map