import type { FlowDefinition } from '../types.js'; import type { FlowValidationIssue } from './types.js'; export interface StructureNode { id: string; path: string; index: number; kind: string; replyMode?: 'response' | 'generate' | 'both' | 'neither'; opaque?: boolean; } export interface StructureTransition { path: string; nodeId: string; goto?: string; } export interface StructureGraph { start: string; nodes: StructureNode[]; transitions: StructureTransition[]; } export declare function validateFlowStructureGraph(graph: StructureGraph): FlowValidationIssue[]; export declare function validateFlowStructure(def: FlowDefinition): FlowValidationIssue[];