import type { FlowSchema } from './flow.js'; /** One chart step: from → to, the optional branch label between them * (mandatory for decision branches). */ export type ChartStep = [from: string, to: string] | [from: string, when: string, to: string]; /** Compile a tuple chart into a FlowSchema. */ export declare function flowChart(name: string, steps: ChartStep[], options?: { description?: string; start?: string; }): FlowSchema;