/// import http = require('http'); import { ArtifactResponse } from '../model/artifactResponse'; import { DeleteArtifactRequest } from '../model/deleteArtifactRequest'; import { Template } from '../model/template'; import { UpdateArtifactRequest } from '../model/updateArtifactRequest'; import { Authentication } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth, OAuth } from '../model/models'; export declare enum TemplateServicesApiApiKeys { api = 0 } export declare class TemplateServicesApi { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; 'jwt': HttpBasicAuth; 'api': ApiKeyAuth; 'oauth2': OAuth; }; constructor(oAuth?: OAuth); useQuerystring: boolean; basePath: string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: TemplateServicesApiApiKeys, value: string): void; oAuth: OAuth; tokenUrl: string; clientId: string; clientSecret: string; deleteTemplate(client: string, project: string, artifact: string, v?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: ArtifactResponse; }>; deleteTemplates(client: string, project: string, deleteArtifactRequest: DeleteArtifactRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: ArtifactResponse; }>; getTemplate(client: string, project: string, artifact: string, v?: string, view?: Array, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Template; }>; listTemplates(client: string, project: string, view?: Array, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array