import type { NpmOptions } from '../types/NpmOptions'; import type { PackageInfo } from '../types/PackageInfo'; export type NpmAuthOptions = Pick; export declare function getNpmLogLevelArgs(verbose: boolean | undefined): string[]; export declare function getNpmPublishArgs(packageInfo: PackageInfo, options: Omit): string[]; /** * Get the environment variable key and value for npm authentication. */ export declare function getNpmAuthEnv(options: NpmAuthOptions): Record<`npm_config_${string}`, string> | undefined; /** * Get the npm auth args for the given registry and token. */ export declare function getNpmAuthArgs(options: NpmAuthOptions): { /** Like `//registry.npmjs.org/:_password` */ key: `//${string}:${'_authToken' | '_password'}`; /** The token or password */ value: string; } | undefined; //# sourceMappingURL=npmArgs.d.ts.map