/** Validation and fencing helpers shared by the resolution writer paths. */ import type { ConflictStatus } from "../../../contracts/domain/model/constants.js"; import type { NormalizedCell } from "../../../contracts/encoding/types.js"; import { StorageError } from "../../errors.js"; import { type FencingContext } from "@hikoutei/ikisaki"; import type { SqlExecutor } from "../../../contracts/storage/sql.js"; /** Parses and validates a normalized cell stored as serialized JSON. */ export declare function parseNormalizedCell(serialized: string, fieldName: string): NormalizedCell; /** Promotes a stored status into the domain's closed conflict-status union. */ export declare function requireConflictStatus(value: string): ConflictStatus; /** Requires the writer fence to remain current in the active async SQL transaction. */ export declare function assertCurrentFenceWithSql(sql: SqlExecutor, fence: FencingContext): Promise; /** Signals that a resolution transaction lost its writer ownership. */ export declare class ResolutionStaleFenceError extends StorageError { constructor(); } //# sourceMappingURL=resolutionWriterHelpers.d.ts.map