import { CommonOptions, Result, Step } from '../types.js'; export interface RunOperationInput { operation: Result['operation']; manifestPath?: string; steps: Step[]; opts?: CommonOptions; /** * Called after apply (or dry-run) but before audit is appended. * Allows callers to push extra steps (e.g., write_manifest) and mark failure. */ finalize?: (result: Result) => Promise | Result; } export declare function runOperation(input: RunOperationInput): Promise;