import type { ArtifactRef, EVisaEvent } from "../types.js"; import type { InternalRunResult, Step, StepContext } from "./internal-types.js"; export interface StepRunnerOptions { steps: Step[]; context: Omit; } export declare class StepRunner { private readonly steps; private readonly context; private result; private readonly artifacts; constructor(options: StepRunnerOptions); private emitTiming; run(startUrl: string): Promise; captureDebug(label: string): Promise; } export declare const emitSafe: (emit: ((event: EVisaEvent) => void) | undefined) => (event: EVisaEvent) => void;