export class RegistryFetcher { constructor(spec: string, opts?: any) cache: string } export interface Pacote { RegistryFetcher: typeof RegistryFetcher extract(spec: string, dest: string, opts?: any): Promise manifest(spec: string, opts?: any): Promise packument(spec: string, opts?: any): Promise tarball(spec: string, opts?: any): Promise } declare const pacote: Pacote export default pacote