import type { NodeFileSystem } from './filesystem.js'; import { type OwnershipLedger } from './ownership-ledger.js'; import type { InstallArtifact } from './types.js'; import type { VerifiedRetiredArtifactInventory } from './retired-artifact-inventory.js'; /** * Repository-local ownership state is an untrusted claim. Destructive lifecycle * operations may use it only when every claim is part of the packaged artifact * inventory for the recorded selection and the ledger is the committed output * of its recorded installer transaction. */ export declare function assertAuthorizedOwnershipLedger(location: string, ledger: OwnershipLedger, artifactInventory: readonly InstallArtifact[], filesystem: NodeFileSystem, retiredInventory?: VerifiedRetiredArtifactInventory): Promise;