import { GitProviderRoot } from "./gitProviderRoot.js";
import { CommonPullRequestInfo, PullRequestMessageRequest, PullRequestMessageResult } from "./index.js";
import { GitPullRequest } from "azure-devops-node-api/interfaces/GitInterfaces.js";
export declare class AzureDevopsProvider extends GitProviderRoot {
    private azureApi;
    serverUrl: string;
    token: string;
    attachmentsWorkItemId: number;
    attachmentsWorkItemTitle: string;
    constructor();
    static handleLocalIdentification(): Promise<void>;
    getLabel(): string;
    getCurrentJobUrl(): Promise<string | null>;
    getCurrentBranchUrl(): Promise<string | null>;
    supportsMermaidInPrMarkdown(): Promise<boolean>;
    getPullRequestInfo(): Promise<CommonPullRequestInfo | null>;
    listPullRequests(filters?: {
        pullRequestStatus?: "open" | "merged" | "abandoned";
        targetBranch?: string;
        minDate?: Date;
    }, options?: {
        formatted?: boolean;
    }): Promise<GitPullRequest[] | any[]>;
    getBranchDeploymentCheckId(gitBranch: string): Promise<string | null>;
    getPullRequestDeploymentCheckId(): Promise<string | null>;
    private getDeploymentIdFromPullRequest;
    postPullRequestMessage(prMessage: PullRequestMessageRequest): Promise<PullRequestMessageResult>;
    private pullRequestStatusToAzureThreadStatus;
    private completePullRequestInfo;
    private getPipelineVariablesConfig;
    tryPostPullRequestMessage(prMessage: PullRequestMessageRequest): Promise<PullRequestMessageResult>;
    static parseAzureRepoUrl(remoteUrl: string): {
        collectionUri: string;
        teamProject: string;
        repositoryId: string;
    } | null;
    uploadImage(localImagePath: string): Promise<string | null>;
    findCreateAttachmentsWorkItemId(): Promise<number | null>;
}
