import type { HealthResult, HealthStatus } from "../health/contract.js";
import { type SetupReadinessCheck, type SetupReadinessFinding } from "./ui-setup-readiness-contract.js";
/** Fixed Health checks that establish local standards/governance conformance. */
export declare const STANDARDS_HEALTH_CHECKS: readonly ["templates.managed", "package.conformance", "hooks.managed", "config.sync", "instructions.canonical", "ci.workflows"];
/**
 * Never upgrade standards adoption without current lint/test preservation proof.
 * @param projectRoot - Project root whose proof should be validated
 * @param health - Current deterministic Health evidence, when available
 * @returns Standards-adoption readiness finding
 */
export declare function standardsFinding(projectRoot: string, health: HealthResult | undefined): Promise<SetupReadinessFinding>;
/**
 * Aggregate stable check IDs without interpreting human-readable reasons.
 * @param check - Setup checklist identifier being evaluated
 * @param health - Current deterministic Health evidence, when available
 * @param requiredChecks - Health check identifiers required for readiness
 * @param passReason - Operator-readable reason used when every check passes
 * @param unavailableStatus - Status used when required evidence is absent
 * @returns Setup finding derived from the required Health checks
 */
export declare function healthEvidenceFinding(check: SetupReadinessCheck, health: HealthResult | undefined, requiredChecks: readonly string[], passReason: string, unavailableStatus?: HealthStatus): SetupReadinessFinding;
/**
 * Require a complete source registry and no open knowledge gaps.
 * @param projectRoot - Project root containing agent-ready evidence
 * @returns Agent-readiness finding from confined registry and gap evidence
 */
export declare function agentReadyFinding(projectRoot: string): Promise<SetupReadinessFinding>;
/**
 * Require the optional wiki to exist before accepting the Health wiki check.
 * @param projectRoot - Project root containing the optional wiki
 * @param health - Current deterministic Health evidence, when available
 * @returns Wiki setup readiness finding
 */
export declare function wikiSetupFinding(projectRoot: string, health: HealthResult | undefined): Promise<SetupReadinessFinding>;
/**
 * Read names referenced as `secrets.NAME` from current workflow files.
 * @param projectRoot - Project root containing GitHub workflows
 * @returns Sorted unique explicit workflow secret names
 */
export declare function readWorkflowSecretNames(projectRoot: string): Promise<readonly string[]>;
//# sourceMappingURL=ui-setup-readiness-local.d.ts.map