/** * `scai content version set-validity` — set or clear `__Valid from` / * `__Valid to` on a specific item version. * * Either or both fields may be set per call; passing `--clear-*` writes * an empty string to the field (Sitecore's convention for "no date"). * The four flag pairs (`--valid-from / --clear-valid-from` and * `--valid-to / --clear-valid-to`) are mutually exclusive within each * pair; the CLI layer enforces that and this task assumes it. * * Like `set-never-publish`, this does NOT auto-publish. */ import { type CommonContentVersionOptions } from "./shared.js"; export interface RunContentVersionSetValidityOptions extends CommonContentVersionOptions { /** New `__Valid from` value (ISO 8601). Mutually exclusive with * `clearValidFrom`. */ validFrom?: string; clearValidFrom?: boolean; /** New `__Valid to` value (ISO 8601). Mutually exclusive with * `clearValidTo`. */ validTo?: string; clearValidTo?: boolean; } export declare const runContentVersionSetValidity: (options: RunContentVersionSetValidityOptions) => Promise;