/**
 * Workflow script parser.
 *
 * Responsibilities:
 *   1. Parse the script with acorn (latest ECMA, top-level await + return allowed).
 *   2. Enforce determinism — reject `Date.now()`, `Math.random()`, `new Date()`,
 *      `require`, `import`, dynamic eval. This keeps future resume/replay possible
 *      and surfaces non-deterministic mistakes early.
 *   3. Require the first statement to be `export const meta = <literal>`, validate
 *      the literal shape, and strip that line from the body returned to the runtime.
 *
 * Returning a `{ meta, body }` pair means the runtime can `vm.Script(body)` without
 * any further AST work.
 */
import type { WorkflowMeta } from './types.js';
export interface ParsedWorkflow {
    meta: WorkflowMeta;
    body: string;
}
export declare function parseWorkflowScript(script: string): ParsedWorkflow;
