/**
 * Review command - executes the PR reviewer cron script
 */
import { Command } from 'commander';
import { INightWatchConfig } from '@night-watch/core';
/**
 * Options for the review command
 */
export interface IReviewOptions {
    dryRun: boolean;
    timeout?: string;
    provider?: string;
    autoMerge?: boolean;
}
/**
 * Review notifications should not fire for script-level skip/no-op outcomes.
 */
export declare function shouldSendReviewNotification(scriptStatus?: string): boolean;
/**
 * Parse comma-separated PR numbers like "#12,#34" into numeric IDs.
 */
export declare function parseAutoMergedPrNumbers(raw?: string): number[];
/**
 * Parse comma-separated PR numbers like "#12,#34" into numeric IDs.
 * Deduplicates while preserving order.
 */
export declare function parseReviewedPrNumbers(raw?: string): number[];
/**
 * Parse retry attempts from script result data.
 * Returns the number of attempts (defaults to 1 if not present or invalid).
 */
export declare function parseRetryAttempts(raw?: string): number;
/**
 * Parse final review score from script result data.
 * Returns undefined when missing or invalid.
 */
export declare function parseFinalReviewScore(raw?: string): number | undefined;
/**
 * Build environment variables map from config and CLI options for reviewer
 */
export declare function buildEnvVars(config: INightWatchConfig, options: IReviewOptions): Record<string, string>;
/**
 * Apply CLI flag overrides to the config for reviewer
 */
export declare function applyCliOverrides(config: INightWatchConfig, options: IReviewOptions): INightWatchConfig;
interface ICheckStatus {
    name?: string;
    bucket?: string;
    state?: string;
    conclusion?: string;
}
/**
 * Whether a GitHub check entry should be treated as failing/action-required.
 */
export declare function isFailingCheck(check: ICheckStatus): boolean;
/**
 * Get a human-readable list of failing checks for a PR.
 */
export declare function getPrFailingChecks(prNumber: number): string[];
/**
 * Register the review command with the program
 */
export declare function reviewCommand(program: Command): void;
export {};
//# sourceMappingURL=review.d.ts.map