import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { PliCnfEvaluationTemplate } from 'ng-pli-util'; import * as i0 from "@angular/core"; export declare class PliCnfEvaluationTemplateService { private environment; private httpClient; private headerJson; constructor(environment: any, httpClient: HttpClient); /** Returns a PliCnfEvaluationTemplate by id */ getById(id: number): Observable; /** Returns a list of PliCnfEvaluationTemplate by ids * @param ids id per template */ getByIds(ids: number[]): Observable; /** Returns a list of PliCnfEvaluationTemplate by promCode */ getAllByPromCode(promCode: number): Observable; /** * Returns a list of PliCnfEvaluationTemplate by promCode and active * @param promCode * @param active define if get templates actives or inactives */ getAllByPromCodeAndActve(promCode: number, active: string): Observable; /** * Returns a valpro PliCnfEvaluationTemplate by promCode * @param promCode */ getByPromCodeAndisValpro(promCode: number): Observable; /** Saves a template with its associated document and form records */ save(pliCnfEvaluationTemplate: PliCnfEvaluationTemplate): Observable; /** Deletes a template with its associated document and form records, * unless there is another configuration using the specified evaluation template */ delete(id: number): Observable; /** Returns a list of mongo forms by promCode */ getMongoFormByEvaluationTemplateId(evaluationTemplateId: number): Observable; /** Returns a list of mongo forms by promCode */ getAllMongoFormsByPromCode(promCode: number): Observable; /** Saves a template with its associated document and form records */ saveMongoForm(mongoForm: any): Observable; /** Saves a template array with its associated document and form records */ saveAll(lEvaluationTemplate: PliCnfEvaluationTemplate[], promCodigo: number): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }