/**
 * SlugResolver
 *
 * Resolves unique slugs by checking against database and git branches.
 * On collision, appends a short random suffix to guarantee uniqueness
 * without arbitrary iteration limits.
 */
import type { IFeatureRepository } from '../../../ports/output/repositories/feature-repository.interface.js';
import type { IWorktreeService } from '../../../ports/output/services/worktree-service.interface.js';
export interface SlugResolutionResult {
    slug: string;
    branch: string;
    warning?: string;
}
export declare class SlugResolver {
    private readonly featureRepo;
    private readonly worktreeService;
    constructor(featureRepo: IFeatureRepository, worktreeService: IWorktreeService);
    /**
     * Find a unique slug by checking the feature DB, local branches, and remote branches.
     * If the original slug conflicts, appends a short random hex suffix (e.g., -a3f1).
     */
    resolveUniqueSlug(originalSlug: string, repositoryPath: string): Promise<SlugResolutionResult>;
    private isSlugAvailable;
}
//# sourceMappingURL=slug-resolver.d.ts.map