import type { Documentation, DocumentationSource } from '../types/documentation.js'; import { HttpClient } from '../utils/http-client.js'; export declare class NpmRegistryClient implements DocumentationSource { private readonly registryUrl; private httpClient; constructor(httpClient?: HttpClient); getPackageMetadata(packageName: string): Promise<{ repository?: { url?: string; type?: string; }; homepage?: string; } | null>; fetch(packageName: string, version?: string): Promise; private fetchFromRepository; private fetchFromHomepage; private generateFallbackMessage; } //# sourceMappingURL=npm-client.d.ts.map