import webClient = require('./webClient'); import { WebJob, SiteExtension } from './azureModels'; export declare class KuduServiceManagementClient { private _scmUri; private _authHeader; private _cookie; constructor(scmUri: string, authHeader: string); beginRequest(request: webClient.WebRequest, reqOptions?: webClient.WebRequestOptions, contentType?: string): Promise; getRequestUri(uriFormat: string, queryParameters?: Array): string; getScmUri(): string; } export declare class Kudu { client: KuduServiceManagementClient; constructor(scmUri: string, authHeader: string); updateDeployment(requestBody: any): Promise; getKuduStackTraceUrl(): string; getContinuousJobs(): Promise>; startContinuousWebJob(jobName: string): Promise; stopContinuousWebJob(jobName: string): Promise; installSiteExtension(extensionID: string): Promise; getSiteExtensions(): Promise>; getAllSiteExtensions(): Promise>; getProcess(processID: number): Promise; killProcess(processID: number): Promise; getAppSettings(): Promise>; listDir(physicalPath: string): Promise; getFileContent(physicalPath: string, fileName: string): Promise; uploadFile(physicalPath: string, fileName: string, filePath: string): Promise; createPath(physicalPath: string): Promise; runCommand(physicalPath: string, command: string): Promise; extractZIP(webPackage: string, physicalPath: string): Promise; zipDeploy(webPackage: string, queryParameters?: Array): Promise; warDeploy(webPackage: string, queryParameters?: Array): Promise; getDeploymentDetails(deploymentID: string): Promise; getDeploymentLogs(log_url: string): Promise; deleteFile(physicalPath: string, fileName: string): Promise; deleteFolder(physicalPath: string): Promise; private _getDeploymentDetailsFromPollURL; private _getFormattedError; }