import type { CheckConclusion, ViewerAuthorization } from "../types.mts"; /** * True when the viewer's base-repo role grants GitHub's Actions rerun capability * (`actions: write`, which rides with push access). The rerun runs against the base * repo where the run lives, so `repositoryPermission` — not `headRepositoryPermission`, * which covers fork push access — is the right field to gate on. */ export declare function canRerunWorkflows(auth: ViewerAuthorization | undefined): boolean; /** Failing-check rows for formatter/instructions — excludes annotation-only carriers. */ export declare function isFailingAgentCheck(check: { conclusion: CheckConclusion; annotationOnly?: boolean; }): boolean;