import type { Outcome } from '../types/outcome.type'; import { type LineModel } from '../utils/line.util'; import type { LineWire } from '../types/line.type'; export type UseLineResult = { outcome: Outcome; /** One color token per series, in series order, from the page's label colors. */ colors: string[]; retry: () => void; }; /** * Behaviour of `v2.line`: loads the wire's data source and derives what the * view draws (periods, series values, legend order). No JSX. */ export declare const useLine: (wire: LineWire, userFlow: string) => UseLineResult;