export type TOutputFormat = 'typescript' | 'javascript';
/**
 * Strip TypeScript type syntax from code using esbuild.
 * Removes type declarations, interfaces, declare statements, and type annotations
 * while preserving runtime JavaScript code.
 * Uses a lazy import so esbuild is only loaded when actually needed.
 */
export declare function stripTypeScript(code: string): string;
/**
 * Generates inline runtime code for standalone execution
 *
 * This includes all types and the GeneratedExecutionContext class
 * so generated workflows have zero runtime dependencies.
 *
 * @param production - Whether to generate production-optimized code (no debug events)
 * @param exportClasses - Whether to add 'export' keyword to classes (for shared modules)
 * @param outputFormat - Output format: 'typescript' (default) or 'javascript' (strips types)
 */
export declare function generateInlineRuntime(production: boolean, exportClasses?: boolean, outputFormat?: TOutputFormat): string;
import type { TModuleFormat } from '../ast/types.js';
/**
 * Generates a standalone runtime module file for multi-workflow bundles.
 * This exports all runtime types and classes so individual workflow files can import them.
 *
 * @param production - Whether to generate production-optimized code (no debug events)
 * @param moduleFormat - The module format to use ('esm' or 'cjs')
 */
export declare function generateStandaloneRuntimeModule(production: boolean, moduleFormat?: TModuleFormat): string;
//# sourceMappingURL=inline-runtime.d.ts.map