export declare const TMP_REVIEW_FALLBACKS: { fileName: string; persistentKind: string; }[]; /** * @param {string} gitRoot * @param {string} fileName */ export declare function tmpReviewFallbackPath(gitRoot: string, fileName: string): string; /** * @param {string} gitRoot * @param {string} changeId * @param {{ branchMatchesChange?: boolean }} [context] * @param {{ counts?: { review?: number } }} [collaboration] */ export declare function collectReviewSignals(gitRoot: string, changeId: string, context: any, collaboration: { counts?: { review?: number; }; } | null | undefined): Promise<{ persistentCount: number; tmpFallbackExists: boolean; tmpFallbackCount: number; tmpFallbackPath: string; tmpFallbackPaths: string[]; effectiveCount: number; source: string; }>; /** * @param {string} gitRoot * @param {string} changeId * @param {{ branchMatchesChange?: boolean }} [context] */ export declare function collectReviewGates(gitRoot: string, changeId: string, context: any): Promise<{ source: any; specVersion: any; version: any; gates: { id: any; name: any; stage: any; focus: any; next: any; ready: boolean; status: string; primaryPath: string; fallbackPath: string; foundPath: string; }[]; specReview: { id: any; name: any; stage: any; focus: any; next: any; ready: boolean; status: string; primaryPath: string; fallbackPath: string; foundPath: string; } | null; qualityReview: { id: any; name: any; stage: any; focus: any; next: any; ready: boolean; status: string; primaryPath: string; fallbackPath: string; foundPath: string; } | null; verifyBeforeComplete: { id: any; name: any; stage: any; focus: any; next: any; ready: boolean; status: string; primaryPath: string; fallbackPath: string; foundPath: string; } | null; validateStamp: { id: string; name: string; ready: boolean; status: string; dir: string; foundPath: string; }; summary: { gateCount: number; gateReadyCount: number; genericReviewOnly: boolean; dualReviewPending: boolean; dualReviewReady: boolean; dualReviewMissingIds: any[]; dualReviewMissingCount: number; finishGateReady: boolean; finishGateMissingIds: string[]; finishGateMissingCount: number; }; }>; /** * @param {string} changeId * @param {any} reviewGates */ export declare function collectFinishGateErrors(changeId: string, reviewGates: any): string[];