import type { RepoGroup } from './types.js';
/**
 * Cursor Agents sidebar sometimes renders the same folder twice, e.g.
 * `var/www/cursorconnect, cursorconnect` (label row) vs `var/www/cursorconnect`.
 * App list should show one repo group.
 */
export declare function normalizeSidebarRepoSectionName(name: string): string;
export declare function sidebarRepoSectionKey(name: string): string;
export declare function repoSectionNamesMatch(a: string, b: string): boolean;
/** Merge duplicate sidebar repo headers into one `RepoGroup` (preserve agent order). */
export declare function mergeSidebarRepoSections(repos: RepoGroup[]): RepoGroup[];
