/**
 * SlugResolver
 *
 * Resolves unique slugs by checking against database and git branches.
 * Ensures no slug collision by appending numeric suffixes (-2, -3, etc.)
 */
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 both the feature DB and git branches.
     * If the original slug conflicts, appends -2, -3, etc. until a free one is found.
     */
    resolveUniqueSlug(originalSlug: string, repositoryPath: string): Promise<SlugResolutionResult>;
}
//# sourceMappingURL=slug-resolver.d.ts.map