/** * slope review run — Generate bounded, scoped PR review prompts. * * Usage: * slope review run [--pr=N] [--type=architect|code|both] [--sprint=N] * [--path=GLOB]... [--exclude-path=GLOB]... [--max-diff-bytes=N] [--json] */ import { type ReviewDiffFile, type ReviewDiffResult, type ReviewDiffScope } from '../review-diff.js'; import { type ReviewerAgentSpec } from '../reviewer-agents.js'; export interface ReviewPrompt { type: 'architect' | 'code'; prompt: string; context: { pr_number?: number; sprint?: number; changed_files: string[]; total_changed_files: number; diff_lines: number; diff_bytes: number; review_scope: { include: string[]; exclude: string[]; selected_files: number; total_files: number; max_diff_bytes: number; }; patch_coverage: { complete: string[]; provider_partial: string[]; provider_omitted: string[]; local_truncated: string[]; provider_file_list_truncated: boolean; }; reviewer_agent?: Pick; }; } export interface ReviewRunOptions { prNumber?: number; reviewType: 'architect' | 'code' | 'both'; sprint?: number; json: boolean; scope: ReviewDiffScope; } export declare function parseReviewRunArgs(args: string[]): ReviewRunOptions; declare function coverageWarnings(review: ReviewDiffResult): string[]; declare function formatFileDiff(file: ReviewDiffFile): string; declare function formatScopedDiff(review: ReviewDiffResult): string; declare function formatDiffBlock(review: ReviewDiffResult): string[]; export declare function reviewRunCommand(args: string[], preloadedReview?: ReviewDiffResult): Promise; export declare const reviewRunInternals: { coverageWarnings: typeof coverageWarnings; formatFileDiff: typeof formatFileDiff; formatScopedDiff: typeof formatScopedDiff; formatDiffBlock: typeof formatDiffBlock; }; export {}; //# sourceMappingURL=review-run.d.ts.map