import * as auth from "./Authentication"; import { IPackageSource } from "./Authentication"; import * as ngToolRunner from "./NuGetToolRunner2"; export declare class NuGetConfigHelper2 { private nugetPath; private nugetConfigPath; private authInfo; private environmentSettings; tempNugetConfigPath: any; private nugetXmlHelper; private rootNuGetFiles; constructor(nugetPath: string, nugetConfigPath: string, authInfo: auth.NuGetExtendedAuthInfo, environmentSettings: ngToolRunner.NuGetEnvironmentSettings, tempConfigPath: string, useNuGetToModifyConfigFile?: boolean); static getTempNuGetConfigBasePath(): string; ensureTempConfigCreated(): void; addSourcesToTempNuGetConfig(packageSources: IPackageSource[]): void; setAuthForSourcesInTempNuGetConfig(): void; private getTempNuGetConfigPath; getSourcesFromTempNuGetConfig(): IPackageSource[]; backupExistingRootNuGetFiles(): void; restoreBackupRootNuGetFiles(): void; private removeSourceFromTempNugetConfig; private addSourcesToTempNugetConfigInternal; private addSourceWithUsernamePasswordToTempNuGetConfig; private setApiKeyForSourceInTempNuGetConfig; private convertToIPackageSource; private temporaryRootNuGetName; private shouldWriteRootNuGetFiles; }