import { NPMPackageOptions } from './types.cjs'; interface GetNPMVersionResult { version: string; file?: string; } /** * Get version of package from NPM registry */ declare function getNPMVersion(options: NPMPackageOptions): Promise; /** * Get version of package from filename */ declare function getPackageVersion(target: string): Promise; export { type GetNPMVersionResult, getNPMVersion, getPackageVersion };