import { ParsedProjectNpmrc } from './types.js'; import { Logger } from './shared/cli/logger.js'; interface MatchedRegistry { fullRegistryMatch: string; registry: string; scope: string | undefined; } declare function parseNpmrcContent(npmrcContents: string): MatchedRegistry[]; /** * Read the project .npmrc file to acquire necessary info */ declare function projectNpmrcParse({ npmrcPath, logger, }: { npmrcPath: string; logger?: Logger; }): Promise; export { type MatchedRegistry, parseNpmrcContent, projectNpmrcParse };