import * as Q from "q"; import * as auth from "./Authentication"; import * as ngToolRunner from "./NuGetToolRunner"; export interface IPackageSource { feedName: string; feedUri: string; } export declare class NuGetConfigHelper { private nugetPath; private nugetConfigPath; private authInfo; private environmentSettings; private tempNugetConfigBaseDir; private tempNugetConfigDir; private tempNugetConfigFileName; tempNugetConfigPath: string; constructor(nugetPath: string, nugetConfigPath: string, authInfo: auth.NuGetAuthInfo, environmentSettings: ngToolRunner.NuGetEnvironmentSettings); ensureTempConfigCreated(): void; setSources(packageSources: IPackageSource[], includeAuth: boolean): void; getSourcesFromConfig(): Q.Promise; private removeSourcesInNugetConfig; private addSourcesInNugetConfig; private shouldGetCredentialsForFeed; }