import type { WorkflowTopology } from './types.mts'; export type SecretInventoryEntry = { readonly provisioned: boolean; }; /** * Inventory entries marked `provisioned: false` whose consuming workflow has no * early-fail readiness step for that name (excluding the `required: false` callee-contract * exemption above). Every job that itself references the secret must have its own readiness * step — not just any job in the workflow — so a second, unguarded consumer of the same secret * cannot hide behind an unrelated job's preflight check. When the secret is referenced at workflow * scope (a top-level `env:`), every job in the workflow is treated as a consumer, since any of them * could read the inherited value — regardless of whether some jobs *also* reference the secret * directly, since a direct reference elsewhere must never narrow validation away from jobs that * only inherit the workflow-scoped value. Each violation names the workflow, secret, and expected * shape, so the fix is unambiguous: add a readiness step, or flip `provisioned: true` once the * secret is actually provisioned in the consumer's inventory. */ export declare function unprovisionedSecretsWithoutReadinessStep(topology: WorkflowTopology, inventory: Readonly>): string[];