export class SelectModelForReviewUseCase {
    execute({ diffStats, policy, defaultModel }) {
        if (policy === null) {
            return defaultModel;
        }
        const totalLines = diffStats.additions + diffStats.deletions;
        if (totalLines <= policy.haikuMaxLines) {
            return 'haiku';
        }
        if (totalLines <= policy.sonnetMaxLines) {
            return 'sonnet';
        }
        return 'opus';
    }
}
//# sourceMappingURL=selectModelForReview.usecase.js.map