import { Logger } from './shared/cli/logger.js'; /** * Merges new auth content into existing .npmrc content. * Existing auth blocks are replaced; all other content is preserved. */ declare function mergeNpmrc(existingContent: string, newAuthContent: string): string; /** * Strips all azpass auth blocks from an .npmrc content string. * Auth blocks are delimited by `; begin auth token` and `; end auth token`. */ declare function stripAuthBlocks(content: string): string; declare function writeNpmrc({ npmrc, logger, }: { npmrc: string; logger?: Logger; }): Promise; export { mergeNpmrc, stripAuthBlocks, writeNpmrc };