import type { NodeExecutionSchema, IRunExecutionData } from 'n8n-workflow'; import type { ExpressionValue } from './types'; import type { WorkflowJSON } from '../types/base'; export type { SemanticGraph, SemanticNode, SemanticConnection, SubnodeConnection, ExpressionValue, } from './types'; export type { CompositeTree, CompositeNode } from './composite-tree'; export type { CompositeType, NodeSemantics } from './semantic-registry'; export interface GenerateWorkflowCodeOptions { workflow: WorkflowJSON; executionSchema?: NodeExecutionSchema[]; expressionValues?: Record; executionData?: IRunExecutionData['resultData']; valuesExcluded?: boolean; pinnedNodes?: string[]; } export { buildSemanticGraph } from './semantic-graph'; export { annotateGraph } from './graph-annotator'; export { buildCompositeTree } from './composite-builder'; export { generateCode } from './code-generator'; export { emitInstanceAi, type EmitInstanceAiOptions } from './emit-instance-ai'; export { getOutputName, getInputName, getCompositeType, getNodeSemantics, isCycleOutput, } from './semantic-registry'; export declare function generateWorkflowCode(input: WorkflowJSON | GenerateWorkflowCodeOptions): string;