/// <reference types="node" />
import { install } from './install';
import { uninstall } from './uninstall';
import { list } from './list';
import { search } from './search';
import { load } from './load';
import { unload } from './unload';
import { PackageManifest, RegistrySearchResults, RegistrySearchPackage } from './npm';
declare const _default: {
    install: (name: string, version: string, baseDir: string, callback: (error?: Error | undefined) => void) => Promise<void>;
    uninstall: (name: string, baseDir: string, callback: () => void) => void;
    list: (baseDir: string) => [string, string][];
    search: (text?: string, scope?: string, limit?: number) => Promise<RegistrySearchResults>;
    load: (baseDir: string, name: string, requireFn?: NodeRequire) => any;
    unload: (baseDir: string, name: string, requireFn?: NodeRequire) => void;
};
export default _default;
export { install, uninstall, list, search, load, unload };
export { PackageManifest, RegistrySearchResults, RegistrySearchPackage };
