import type { BranchStatus } from '../../../types'; import { GiteaHttp, GiteaHttpOptions } from '../../../util/http/gitea'; import type { Branch, CombinedCommitStatus, Comment, CommitStatus, CommitStatusCreateParams, CommitStatusType, Issue, IssueCreateParams, IssueSearchParams, IssueUpdateLabelsParams, IssueUpdateParams, Label, PR, PRCreateParams, PRMergeParams, PRUpdateParams, PrReviewersParams, Repo, RepoContents, RepoSearchParams, User } from './types'; export declare const giteaHttp: GiteaHttp; export declare function getCurrentUser(options?: GiteaHttpOptions): Promise; export declare function getVersion(options?: GiteaHttpOptions): Promise; export declare function searchRepos(params: RepoSearchParams, options?: GiteaHttpOptions): Promise; export declare function orgListRepos(organization: string, options?: GiteaHttpOptions): Promise; export declare function getRepo(repoPath: string, options?: GiteaHttpOptions): Promise; export declare function getRepoContents(repoPath: string, filePath: string, ref?: string | null, options?: GiteaHttpOptions): Promise; export declare function createPR(repoPath: string, params: PRCreateParams, options?: GiteaHttpOptions): Promise; export declare function updatePR(repoPath: string, idx: number, params: PRUpdateParams, options?: GiteaHttpOptions): Promise; export declare function closePR(repoPath: string, idx: number, options?: GiteaHttpOptions): Promise; export declare function mergePR(repoPath: string, idx: number, params: PRMergeParams, options?: GiteaHttpOptions): Promise; export declare function getPR(repoPath: string, idx: number, options?: GiteaHttpOptions): Promise; export declare function requestPrReviewers(repoPath: string, idx: number, params: PrReviewersParams, options?: GiteaHttpOptions): Promise; export declare function createIssue(repoPath: string, params: IssueCreateParams, options?: GiteaHttpOptions): Promise; export declare function updateIssue(repoPath: string, idx: number, params: IssueUpdateParams, options?: GiteaHttpOptions): Promise; export declare function updateIssueLabels(repoPath: string, idx: number, params: IssueUpdateLabelsParams, options?: GiteaHttpOptions): Promise; export declare function closeIssue(repoPath: string, idx: number, options?: GiteaHttpOptions): Promise; export declare function searchIssues(repoPath: string, params: IssueSearchParams, options?: GiteaHttpOptions): Promise; export declare function getIssue(repoPath: string, idx: number, options?: GiteaHttpOptions): Promise; export declare function getRepoLabels(repoPath: string, options?: GiteaHttpOptions): Promise; export declare function getOrgLabels(orgName: string, options?: GiteaHttpOptions): Promise; export declare function unassignLabel(repoPath: string, issue: number, label: number, options?: GiteaHttpOptions): Promise; export declare function createComment(repoPath: string, issue: number, body: string, options?: GiteaHttpOptions): Promise; export declare function updateComment(repoPath: string, idx: number, body: string, options?: GiteaHttpOptions): Promise; export declare function deleteComment(repoPath: string, idx: number, options?: GiteaHttpOptions): Promise; export declare function getComments(repoPath: string, issue: number, options?: GiteaHttpOptions): Promise; export declare function createCommitStatus(repoPath: string, branchCommit: string, params: CommitStatusCreateParams, options?: GiteaHttpOptions): Promise; export declare const giteaToRenovateStatusMapping: Record; export declare const renovateToGiteaStatusMapping: Record; export declare function getCombinedCommitStatus(repoPath: string, branchName: string, options?: GiteaHttpOptions): Promise; export declare function getBranch(repoPath: string, branchName: string, options?: GiteaHttpOptions): Promise;