import { PackageInfo } from "./PackageInfo"; import { PackageSource } from "./PackageSource"; /** * Acquires OpenT2T packages from an NPM registry. */ export declare class NpmPackageSource extends PackageSource { readonly registryUri: string; constructor(registryUri?: string); /** * Gets information about an OpenT2T package from the source * (potentially without downloading the whole package). * * @param {string} name Name of the package * @returns {(Promise; /** * Downloads or copies a package to a target (cache) directory. * * @param {string} name Name of the package * @param {string} targetDirectory Directory where the package is to be extracted */ copyPackageAsync(name: string, targetDirectory: string): Promise; }