/**
 * A minimal NPM Registry Server that can serve local packages, or proxy to the upstream registry.
 * This is useful in test installation behavior of packages that aren't yet published. It's particularly helpful
 * when your installation requires transitive dependencies that are also not yet published.
 *
 * See https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md for information on the official APIs.
 */
export declare class Registry {
    private _workDir;
    private _url;
    private _objectsDir;
    private _packageMeta;
    private _log;
    private _server;
    constructor(workDir: string, url: string);
    url(): string;
    shutdown(): Promise<void>;
    start(packages: {
        [pkg: string]: string;
    }): Promise<void>;
    assertLocalPackage(pkg: any): void;
    private _addPackage;
    private _logAccess;
}
//# sourceMappingURL=registry.d.ts.map