/** * Field-state unpublish strategies — version-scoped writes that change * an item's publish state via the Authoring API. * * Split out of `unpublish.ts` so the version-scoped strategy logic lives * apart from the orchestrator and the item-scoped `delete` flow. Both * `never-publish` and `expire-now` are reversible. */ import { readVersionFields } from "../../content/api/version-fields.js"; import type { PublishAuditFieldChange, UnpublishStrategy } from "../../shared/publish-audit.js"; /** * Apply the strategy to a single `(itemId, language)` pair. Returns * the audit-log entries that should be recorded for the field write. * Throws if a precondition fails (e.g. version missing for the * language) — caller catches and records an error audit entry. */ export declare const applyStrategy: (environment: Parameters[0], itemId: string, language: string, strategy: UnpublishStrategy, whatIf: boolean) => Promise;