import type { BranchStatus, PrState } from '../../../types';
import type { Pr } from '../types';
import type { GerritChange, GerritChangeStatus, GerritLabelTypeInfo } from './types';
export declare const TAG_PULL_REQUEST_BODY = "pull-request";
export declare function getGerritRepoUrl(repository: string, endpoint: string): string;
export declare function mapPrStateToGerritFilter(state?: PrState): string;
export declare function mapGerritChangeToPr(change: GerritChange): Pr;
export declare function mapGerritChangeStateToPrState(state: GerritChangeStatus | 'UNKNOWN'): PrState;
export declare function extractSourceBranch(change: GerritChange): string | undefined;
export declare function findPullRequestBody(change: GerritChange): string | undefined;
export declare function mapBranchStatusToLabel(state: BranchStatus | 'UNKNOWN', // suppress default path code removal
label: GerritLabelTypeInfo): number;
