import type { Outcome } from '../types/outcome.type'; import type { BarsWire } from '../types/bars.type'; import { type BarsModel } from '../utils/bars.util'; export type UseBarsResult = { outcome: Outcome; /** One color token per series, in series order, from the page's label colors. */ colors: string[]; retry: () => void; }; /** * Behaviour of `v2.bars`: loads the wire's data source and derives what the * view draws (category data, effective variant, legend). No JSX. */ export declare const useBars: (wire: BarsWire, userFlow: string) => UseBarsResult;