import type { WorkflowSecretInventory } from './types.mts'; export interface SecretDrift { /** `provisioned: false` in the inventory, but live: flip the flag to true. */ readonly newlyProvisioned: string[]; /** `provisioned: true` in the inventory, but not live: investigate. */ readonly notActuallyProvisioned: string[]; /** `neverProvision: true` in the inventory, but live anyway: delete the live secret. */ readonly accidentallyProvisioned: string[]; /** Live secret with no inventory entry: informational, not a drift failure. */ readonly unreferenced: string[]; /** Reads the secret store could not complete (permissions, deleted mid-run, etc). */ readonly warnings: string[]; } export declare function diffAgainstInventory(inventory: WorkflowSecretInventory, liveNames: ReadonlySet, warnings: readonly string[]): SecretDrift; /** `confirmNames` entries that are not live: the operator's post-provisioning checklist fell short. */ export declare function missingConfirmedSecrets(confirmNames: readonly string[], liveNames: ReadonlySet): string[]; /** * `drift.newlyProvisioned` names not covered by `--confirm`. A confirmed name is expected to still * be `provisioned: false` until a follow-up edit, so only other newly-provisioned names are drift. */ export declare function unconfirmedNewlyProvisioned(drift: SecretDrift, confirmNames: readonly string[]): string[]; export declare function formatDrift(drift: SecretDrift): string;