export declare function localBranchExists(projectDir: string, branch: string): boolean;
export declare function remoteBranchExists(projectDir: string, branch: string): boolean;
export declare function branchExists(projectDir: string, branch: string): boolean;
export interface CreateBaseBranchIfMissingConfig {
    name: string;
    create_if_missing: {
        from: string;
        push?: boolean;
    };
}
export declare function localBranchExistsAbortable(projectDir: string, branch: string, abortSignal?: AbortSignal): Promise<boolean>;
export declare function remoteBranchExistsAbortable(projectDir: string, branch: string, abortSignal?: AbortSignal): Promise<boolean>;
export declare function branchExistsAbortable(projectDir: string, branch: string, abortSignal?: AbortSignal): Promise<boolean>;
export declare function createBaseBranchIfMissing(projectDir: string, config: CreateBaseBranchIfMissingConfig): {
    branch: string;
    created: boolean;
};
export declare function resolveBaseBranch(projectDir: string, explicitBaseBranch?: string): {
    branch: string;
    fetchedCommit?: string;
};
export declare function resolveBaseBranchAbortable(projectDir: string, explicitBaseBranch?: string, abortSignal?: AbortSignal): Promise<{
    branch: string;
    fetchedCommit?: string;
}>;
//# sourceMappingURL=clone-base-branch.d.ts.map