import { BaseCollection } from "./base_collection"; import { Branch } from "../models/branch"; import { PaginatedResult } from "../interfaces/paginated_result"; import { ProjectWithPagination } from "../interfaces/project_with_pagination"; import { ProjectOnly } from "../interfaces/project_only"; type BranchParams = { name?: string; }; type MergeBranchParams = { force_conflict_resolve_using?: string; target_branch_id?: number | string; }; type BranchDeleted = { project_id: string; branch_deleted: boolean; }; type BranchMerged = { project_id: string; branch_merged: boolean; branch: Branch; target_branch: Branch; }; export declare class Branches extends BaseCollection { protected static rootElementName: string; protected static rootElementNameSingular: string; protected static prefixURI: string; protected static elementClass: typeof Branch; list(request_params: ProjectWithPagination): Promise>; create(branch_params: BranchParams, request_params: ProjectOnly): Promise; get(branch_id: string | number, request_params: ProjectOnly): Promise; update(branch_id: string | number, branch_params: BranchParams, request_params: ProjectOnly): Promise; delete(branch_id: string | number, request_params: ProjectOnly): Promise; merge(branch_id: string | number, request_params: ProjectOnly, body?: MergeBranchParams): Promise; } export {};