/** * Pull Request Service - Azure DevOps pull request operations */ import type { AzureDevOpsClient } from '../azure-devops-client.js'; export declare class PullRequestService { private readonly client; constructor(client: AzureDevOpsClient); private truncate; private getVoteLabel; listRepositories(project: string): Promise; listPullRequests(project: string, repositoryId: string, status?: 'active' | 'completed' | 'abandoned' | 'all', top?: number, creatorId?: string, reviewerId?: string): Promise; getPullRequest(project: string, repositoryId: string, pullRequestId: number): Promise; getPullRequestCommits(project: string, repositoryId: string, pullRequestId: number): Promise; getPullRequestThreads(project: string, repositoryId: string, pullRequestId: number): Promise; getPullRequestChanges(project: string, repositoryId: string, pullRequestId: number, iterationId?: number): Promise; addPullRequestThread(project: string, repositoryId: string, pullRequestId: number, content: string, filePath?: string, lineNumber?: number, status?: 'active' | 'fixed' | 'wontFix' | 'closed' | 'byDesign' | 'pending'): Promise; createPullRequest(project: string, repositoryId: string, sourceRefName: string, targetRefName: string, title: string, description?: string, reviewerIds?: string[], isDraft?: boolean): Promise; updatePullRequest(project: string, repositoryId: string, pullRequestId: number, updates: { title?: string; description?: string; status?: 'abandoned' | 'active'; isDraft?: boolean; }): Promise; completePullRequest(project: string, repositoryId: string, pullRequestId: number, mergeStrategy?: 'squash' | 'noFastForward' | 'rebase' | 'rebaseMerge', deleteSourceBranch?: boolean, transitionWorkItems?: boolean, mergeCommitMessage?: string): Promise; addOrRemovePrReviewer(project: string, repositoryId: string, pullRequestId: number, reviewerId: string, isRequired?: boolean, remove?: boolean): Promise; votePullRequest(project: string, repositoryId: string, pullRequestId: number, vote: 'approve' | 'approveWithSuggestions' | 'noResponse' | 'waitForAuthor' | 'reject', reviewerId?: string): Promise; replyToPrThread(project: string, repositoryId: string, pullRequestId: number, threadId: number, content?: string, status?: 'active' | 'fixed' | 'wontFix' | 'closed' | 'byDesign' | 'pending'): Promise; } //# sourceMappingURL=pull-request-service.d.ts.map