import { type StyleProp, type ViewStyle } from "../../style/index.js"; import { type ChartSkin } from "../shared/types.js"; import { type BreakdownRow } from "../shared/breakdown-rows.js"; export type { BreakdownRow } from "../shared/breakdown-rows.js"; export interface BarListProps { /** The rows to render, in order. */ items: BreakdownRow[]; /** Optional heading shown above the rows. */ title?: string; /** Bars proportional to the sum of all rows, with percent readouts, instead * of relative to the largest row. */ share?: boolean; success?: boolean; destructive?: boolean; compact?: boolean; /** Strip the card surface for nesting inside an existing card (mirrors Stats). */ plain?: boolean; /** Formats row values (data formatting, not styling). */ formatValue?: (v: number) => string; /** Rows become tappable drill-in targets when set. */ onPressItem?: (index: number) => 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 createBarList(skin: ChartSkin): (props: BarListProps) => import("react").JSX.Element; //# sourceMappingURL=bar-list.shared.d.ts.map