import { DocsSourceCandidate, RegistryEntry } from '../shared/types'; import { StorageService } from '../storage/storage.service'; export declare class RegistryService { private readonly storageService; constructor(storageService: StorageService); getAliases(rootDir?: string): Promise>; getRegistry(rootDir?: string): Promise>; resolveAlias(value: string, rootDir?: string): Promise; getEntry(canonical: string, rootDir?: string): Promise; findEntryByPackageName(packageName: string, rootDir?: string): Promise; listEntries(rootDir?: string): Promise; findCuratedCandidate(value: string, rootDir?: string): Promise; resolveDynamicEntry(value: string, rootDir?: string): Promise; resolveDynamicCandidate(value: string, rootDir?: string): Promise; fetchPackageMetadata(packageName: string): Promise<{ description?: string; homepage?: string; repository?: { url?: string; } | string; keywords?: string[]; versions?: Record; 'dist-tags'?: { latest?: string; }; } | undefined>; inferDocsCandidatesFromMetadata(packageName: string, metadata: { description?: string; homepage?: string; repository?: { url?: string; } | string; keywords?: string[]; versions?: Record; 'dist-tags'?: { latest?: string; }; }): DocsSourceCandidate[]; entryToCandidate(entry: RegistryEntry, packageName?: string, sourceType?: DocsSourceCandidate['sourceType']): DocsSourceCandidate; candidateToEntry(candidate: DocsSourceCandidate): RegistryEntry; private getDynamicPackageCandidates; private normalizeToPackageSlug; private packageNameMatchesInput; private looksLikePackageCandidate; private safeUrl; private normalizeRepositoryUrl; private isRepositoryRoot; private scoreDocsUrl; }