import type { JsonValue } from "@sixb/core"; import type { ActionEditCommitResult, ActionReadRecorder } from "@sixb/core/internal/actions"; import type { ActionRunRecord } from "@sixb/core/storage"; import { type BasePhaseContext } from "./context"; import type { LoadedObjectTarget, PhaseExecutionBase, UpdateActiveRun } from "./types"; /** * Records the run's edits and commits them through the ontology Materializer. * * Object and link-scope reads performed by the writeback and edits handlers, including every object * a query or listing returned, are captured as expected revisions so a commit fails when that state * changes. Query membership and telemetry history stay call-level snapshots. Domain events are * durable outbox facts written inside the commit, so this phase never appends events itself. */ export declare function runEditsAndCommitPhase(input: PhaseExecutionBase & { readonly run: ActionRunRecord; readonly baseContext: BasePhaseContext; readonly objectTarget: LoadedObjectTarget | null; readonly writeback: JsonValue | undefined; readonly existingCommit: ActionEditCommitResult | null; /** Shared with the writeback phase so both phases' reads fence the same commit. */ readonly reads: ActionReadRecorder; readonly updateActiveRun: UpdateActiveRun; }): Promise<{ run: ActionRunRecord; result: ActionEditCommitResult | null; }>; //# sourceMappingURL=edits-commit.d.ts.map