import { Promise } from 'es6-promise'; declare namespace csproj2ts { const DEFAULT_TYPESCRIPT_VERSION = "2.5.3"; interface TypeScriptSettings extends TypeScriptConfiguration { VSProjectDetails?: VSProjectDetails; files?: string[]; } interface VSProjectParams { ProjectFileName?: string; MSBuildExtensionsPath32?: string; VisualStudioVersion?: string; TypeScriptVersion?: string; ActiveConfiguration?: string; ActivePlatform?: string; } interface VSProjectDetails extends VSProjectParams { DefaultProjectConfiguration?: string; DefaultProjectPlatform?: string; DefaultVisualStudioVersion?: string; TypeScriptDefaultPropsFilePath?: string; TypeScriptDefaultConfiguration?: TypeScriptConfiguration; } interface TypeScriptConfiguration { AdditionalFlags?: string; AllowJS?: boolean; AllowSyntheticDefaultImports?: boolean; AllowUnreachableCode?: boolean; AllowUnusedLabels?: boolean; AlwaysStrict?: boolean; BaseUrl?: string; Charset?: string; CheckJs?: boolean; CodePage?: string; CompileBlocked?: boolean; CompileOnSaveEnabled?: boolean; DeclarationDir?: string; DownlevelIteration?: boolean; EmitBOM?: boolean; EmitDecoratorMetadata?: boolean; ExperimentalAsyncFunctions?: boolean; ExperimentalDecorators?: boolean; ESModuleInterop?: boolean; ForceConsistentCasingInFileNames?: boolean; GeneratesDeclarations?: boolean; ImportHelpers?: boolean; InlineSourceMap?: boolean; InlineSources?: boolean; IsolatedModules?: boolean; JSXEmit?: string; JSXFactory?: string; Lib?: string; MapRoot?: string; ModuleKind?: string; ModuleResolution?: string; NewLine?: string; NoEmitHelpers?: boolean; NoEmitOnError?: boolean; NoFallthroughCasesInSwitch?: boolean; NoImplicitAny?: boolean; NoImplicitReturns?: boolean; NoImplicitThis?: boolean; NoImplicitUseStrict?: boolean; NoUnusedLocals?: boolean; NoUnusedParameters?: boolean; NoLib?: boolean; NoResolve?: boolean; NoStrictGenericChecks?: boolean; OutFile?: string; OutDir?: string; PreserveConstEnums?: boolean; PreserveSymlinks?: boolean; PreferredUILang?: string; ReactNamespace?: string; RemoveComments?: boolean; RootDir?: boolean; SkipLibCheck?: boolean; SkipDefaultLibCheck?: boolean; SourceMap?: boolean; SourceRoot?: string; Strict?: boolean; StrictFunctionTypes?: boolean; StrictNullChecks?: boolean; StrictPropertyInitialization?: boolean; StripInternal?: boolean; SuppressExcessPropertyErrors?: boolean; SuppressImplicitAnyIndexErrors?: boolean; Target?: string; } const fixVersion: (version: string) => string; var xml2jsReadXMLFile: (fileName: string) => Promise; var getTypeScriptSettings: (projectInfo: VSProjectParams) => Promise; var normalizePath: (path: string, settings: TypeScriptSettings) => string; var getTypeScriptDefaultsFromPropsFileOrDefaults: (settings: TypeScriptSettings) => Promise; var programFiles: () => string; } export = csproj2ts;