import type { CheckExecutionResultV2, LongTaskFindingV2 } from "./long-task-delivery-types.js"; import type { AuthorityRevisionDecisionV2 } from "./long-task-authority-revision-types.js"; export interface AuthorityRevisionDiagnosisV2 { schema_version: "long-task-authority-revision-diagnosis-v2"; status: "no_authority_change" | "monotonic_revision_available" | "automatic_revision_available" | "scope_candidate_exercised" | "scope_candidate_previewed" | "protected_change_previewed" | "candidate_stale"; active_compiled_identity: string; candidate_compiled_identity: string; revision: AuthorityRevisionDecisionV2 | null; acceptance_authorized: false; progress_written: false; pending_revision_written: false; diagnostics_executed: boolean; selected_outcome: string | null; selected_check: string | null; skipped_candidate_checks: string[]; snapshot_sha256: string | null; check_results: CheckExecutionResultV2[]; findings: LongTaskFindingV2[]; completed_at: string; } export declare function diagnoseAuthorityRevision(workdirInput: string, selection?: { outcome?: string; check?: string; }): Promise;