import * as React from 'react';
import { BranchSwitcherProps, Branch } from './types';
export declare function formatBranchName(str: string): string;
export declare const BranchSwitcherLegacy: ({ listBranches, createBranch, chooseBranch, }: BranchSwitcherProps) => JSX.Element;
export declare const getFilteredBranchList: (branchList: Branch[], filter: string, currentBranchName: string) => Branch[];
export declare const CreateBranch: React.FC<{
    setNewBranchName: (value: any) => void;
    onCreateBranch: (value: string) => void;
    currentBranch: string;
    newBranchName: string;
}>;
