import type { TWorkflowAST } from '../ast/types.js';
import type { DiagramOptions } from './types.js';
export type { DiagramOptions } from './types.js';
/**
 * Render a workflow AST to an SVG string.
 */
export declare function workflowToSVG(ast: TWorkflowAST, options?: DiagramOptions): string;
/**
 * Parse TypeScript source code and render the first (or named) workflow to SVG.
 */
export declare function sourceToSVG(code: string, options?: DiagramOptions): string;
/**
 * Parse a workflow file (resolves imports) and render the first (or named) workflow to SVG.
 */
export declare function fileToSVG(filePath: string, options?: DiagramOptions): string;
/**
 * Render a workflow AST to a self-contained interactive HTML page.
 */
export declare function workflowToHTML(ast: TWorkflowAST, options?: DiagramOptions): string;
/**
 * Parse TypeScript source code and render the first (or named) workflow to interactive HTML.
 */
export declare function sourceToHTML(code: string, options?: DiagramOptions): string;
/**
 * Parse a workflow file and render the first (or named) workflow to interactive HTML.
 */
export declare function fileToHTML(filePath: string, options?: DiagramOptions): string;
//# sourceMappingURL=index.d.ts.map