import { Readable } from 'stream'; import { LogFunction } from '../utils'; export type RegistryClientOptions = { log?: LogFunction; }; export interface RegistryClient { resolveVersion(name: string, version: string): Promise; download(name: string, version: string): Promise; }