/** * Recipe transpile step — runs in the trusted parent process. * * esbuild compiles and bundles a `.recipe.ts` into a single self-contained * CommonJS string. Transpiling is **not** executing — esbuild reads and * rewrites the source, it never runs the recipe. The bundle is then handed * to the confined child (`./recipe-runner.cjs`), which runs it as plain JS * with no TypeScript toolchain — which is what lets the child run under * Node's permission model (no worker threads needed). See * docs/recipe-sandbox.md. */ /** * Transpile + bundle a `.recipe.ts` into one CommonJS string. Node built-in * modules stay external; everything else is inlined, so the child needs to * read only the single bundle file at runtime. */ export declare const transpileRecipe: (recipePath: string) => Promise;