import { type RunResult } from "./codegen/runner.js"; import type { StructuredError } from "./errors/structured-errors.js"; export interface CompileAndRunSuccess extends RunResult { ok: true; } export interface CompileAndRunFailure { ok: false; phase: "check" | "compile"; errors: StructuredError[]; } export type CompileAndRunResult = CompileAndRunSuccess | CompileAndRunFailure; /** * Full pipeline: check → compile → run. * * @param ast - Raw JSON AST (parsed from .edict.json) * @returns The run result with captured output, or errors from whichever phase failed. */ export declare function compileAndRun(ast: unknown): Promise; //# sourceMappingURL=compile.d.ts.map