import { IssueRepository, RelatedPullRequest } from './adapter-interfaces/IssueRepository'; export type PrRejectedReasonType = 'PULL_REQUEST_NOT_FOUND' | 'MULTIPLE_PULL_REQUESTS_FOUND' | 'PULL_REQUEST_IS_DRAFT' | 'PULL_REQUEST_CONFLICTED' | 'ANY_CI_JOB_FAILED_OR_IN_PROGRESS' | 'REQUIRED_CI_JOB_NEVER_STARTED' | 'ANY_REVIEW_COMMENT_NOT_RESOLVED' | 'REVIEW_DECISION_CHANGES_REQUESTED' | 'CHANGE_TARGET_MUST_PATH_NOT_CHANGED'; export type PrRejectionResult = { rejections: { type: PrRejectedReasonType; detail: string; }[]; approvedPrUrl: string | null; }; export type EvaluateOptions = { relatedOpenPrUrls?: string[] | null; resolvedOpenPrByUrl?: ReadonlyMap | null; developerAgentNames?: string[] | null; detectConflictEvenIfEvaluationSkipped?: boolean; }; export declare class IssueRejectionEvaluator { private readonly issueRepository; constructor(issueRepository: Pick); evaluate: (issue: { url: string; labels: string[]; isPr: boolean; body?: string | null; agent?: string | null; }, labelsNotRequiringPullRequest?: string[], options?: EvaluateOptions) => Promise; requiresPullRequestEvaluation: (issue: { labels: string[]; body?: string | null; agent?: string | null; }, labelsNotRequiringPullRequest?: string[], developerAgentNames?: string[] | null) => boolean; private resolveOpenPrsForPrItem; private resolveOpenPrsFromUrls; private extractChangeTargetMustPaths; private isFilePathUnderPath; } //# sourceMappingURL=IssueRejectionEvaluator.d.ts.map