import type { IGitService } from '../../infrastructure/git/IGitService.js';
import type { IConfigProvider } from '../../infrastructure/config/interfaces/IConfigProvider.js';
/**
 * Service responsible for resolving branch names, including auto-detection in project mode.
 */
export declare class BranchResolverService {
    private readonly gitService;
    private readonly configProvider;
    private readonly componentLogger;
    /**
     * Constructor
     * @param gitService Git service for branch detection
     * @param configProvider Configuration provider for mode detection
     */
    constructor(gitService: IGitService, configProvider: IConfigProvider);
    /**
     * Resolves and validates a branch name, auto-detecting if necessary.
     * @param providedBranchName Optional branch name
     * @returns Validated branch name
     * @throws ApplicationError If branch name resolution fails
     */
    resolveBranchName(providedBranchName?: string): Promise<string>;
}
//# sourceMappingURL=BranchResolverService.d.ts.map