export interface RegistryEntry { path: string; name: string; lastIndexed: string; } export interface Registry { repos: Record; } export declare function getRegistryPath(): string; export declare function getRegistry(): Record; export declare function registerRepo(name: string, path: string): void; export declare function unregisterRepo(name: string): void; export declare function updateLastIndexed(name: string): void; /** * Derive a repo name from an absolute path. Uses the directory basename, * but deduplicates against existing registry entries by appending a suffix. */ export declare function deriveRepoName(repoPath: string): string;