import { DiscoveredPromptFile, PromptSource } from '../../types/prompt-source'; /** * Discovers .prompt files from npm packages by fetching tarballs from the registry. * * Supports: * - Package specifiers: "package-name" or "package-name@version" * - Direct tarball URLs: "https://registry.npmjs.org/pkg/-/pkg-1.0.0.tgz" * - Custom registry URLs for enterprise registries */ export declare class NpmRegistryPromptSource implements PromptSource { private packageName?; private version?; private tarballUrl?; private registryUrl; constructor(specifier: string, options?: { registryUrl?: string; }); /** * Create an NpmRegistryPromptSource from a direct tarball URL. */ static fromUrl(url: string): NpmRegistryPromptSource; getPrompts(): Promise; /** * Parse a package specifier into name and optional version. */ private parseSpecifier; /** * Resolve the tarball URL by fetching package metadata from the registry. */ private resolveTarballUrl; /** * Download a tarball from the given URL. */ private downloadTarball; } //# sourceMappingURL=npm-registry-prompt-source.d.ts.map