import { HttpClient, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Form as WebForm, FormItem, Template, TemplateItem, TemplateSectionImpl } from '../../models/index'; import { MtnaWfApiConfig } from '../api-config'; export declare class MtnaWfApiService { protected apiConfig: MtnaWfApiConfig; protected http: HttpClient; API_URL: string; FORM_URL: string; TEMPLATE_URL: string; NEW_TEMPLATE_URL: string; NEW_SECTION_URL: string; ITEMS_URL: string; ITEM_INSTANCE_URL: string; TEMPLATE_SAVE_URL: string; TEMPLATE_DELETE_URL: string; ALL_TEMPLATES_URL: string; constructor(apiConfig: MtnaWfApiConfig, http: HttpClient); /** * Download a web form * @param form the web form pojo to download * @returns Full HttlReponse with the Blob as the body */ downloadForm(form: WebForm): Observable>; /** * Returns a new repeatable FormItem * @param formInstanceId template ID of the mtna form * @param itemId repeatableTemplateId of the requesting RepeatableItem */ getRepeatableItem(formInstanceId: string, itemId: string): Observable; getNewTemplate(): Observable