import { type CapabilityPackageContextReport } from "../live-context.js"; export type SkillPackPackageMutationResult = { readonly schemaVersion: 1; readonly status: "preview" | "applied" | "unchanged" | "retained-drift"; readonly operation: "add" | "update" | "remove"; readonly packageId: string; readonly writes: readonly string[]; readonly removes: readonly string[]; readonly report: CapabilityPackageContextReport; } | { readonly schemaVersion: 1; readonly status: "refused"; readonly stage: "input" | "policy" | "authority" | "domain" | "ownership" | "custody"; readonly reason: string; readonly operation?: "add" | "update" | "remove"; readonly packageId?: string; readonly report?: CapabilityPackageContextReport; }; /** * Explicitly reconcile one policy-selected GitHub skill pack against exact local promotion state. * This never acquires content or executes a process; existing trust-lock bytes are the domain proof. */ export declare function reconcileSkillPackCapabilityPackage(input: unknown): SkillPackPackageMutationResult;