/** * GitLab implementation of GitProvider * * Delegates each operation to the corresponding function in * issue.ts and pr.ts. This class is the single place that binds * the GitProvider contract to the GitLab/glab-CLI implementation. */ import type { PrDetails, PrStatus, PrStatusFetchOptions } from '../../core/workflow/system/pr-execution-context.js'; import type { GitProvider, CliStatus, Issue, ExistingPr, IssueListItem, PrListItem, PrSelectionData, CreateIssueOptions, CreateIssueResult, CloseIssueResult, CreatePrOptions, CreatePrResult, CommentResult, IssueCommentResult, MergeResult, PrReviewData } from '../git/types.js'; export declare class GitLabProvider implements GitProvider { fetchPrDetails(prNumber: number, cwd: string, signal?: AbortSignal): Promise; fetchPrStatus(prNumber: number, cwd?: string, options?: PrStatusFetchOptions): Promise; listOpenPrNumbers(cwd: string): number[]; fetchPrListItem(prNumber: number, cwd: string): PrListItem | undefined; fetchPrSelectionData(prNumber: number, cwd: string): PrSelectionData; checkCliStatus(cwd?: string): CliStatus; fetchIssue(issueNumber: number, cwd?: string): Issue; createIssue(options: CreateIssueOptions, cwd?: string): CreateIssueResult; closeIssue(issueNumber: number, comment: string, cwd?: string): CloseIssueResult; fetchPrReviewComments(prNumber: number, cwd?: string): PrReviewData; listOpenIssues(cwd?: string): IssueListItem[]; listOpenPrs(cwd?: string): PrListItem[]; findExistingPr(branch: string, cwd?: string): ExistingPr | undefined; createPullRequest(options: CreatePrOptions, cwd?: string): CreatePrResult; commentOnPr(prNumber: number, body: string, cwd?: string): CommentResult; commentOnIssue(issueNumber: number, body: string, cwd?: string): IssueCommentResult; closePr(prNumber: number, cwd?: string): MergeResult; mergePr(prNumber: number, cwd?: string, method?: import('../../core/models/config-types.js').MergeMethod, expectedHeadSha?: string): MergeResult; } //# sourceMappingURL=GitLabProvider.d.ts.map