import { type CommandContext, type GlobalOptions } from '../../app/command-context.js';
import { type OatLocalConfig } from '../../config/oat-config.js';
import { Command } from 'commander';
export type ReviewLatestKind = 'project' | 'adhoc';
export interface LatestReview {
    path: string;
    scope: string;
    generatedAt: string;
    kind: ReviewLatestKind;
    archived: boolean;
    actionable: boolean;
}
export interface FindLatestReviewOptions {
    repoRoot: string;
    projectPath?: string | null;
    actionableProjectOnly?: boolean;
}
interface ReviewLatestDependencies {
    buildCommandContext: (options: GlobalOptions) => CommandContext;
    resolveProjectRoot: (cwd: string) => Promise<string>;
    readOatLocalConfig: (repoRoot: string) => Promise<OatLocalConfig>;
}
export declare function findLatestReview(options: FindLatestReviewOptions): Promise<LatestReview | null>;
export declare function createReviewLatestCommand(overrides?: Partial<ReviewLatestDependencies>): Command;
export {};
//# sourceMappingURL=latest.d.ts.map