import { PliCnfEvaluationTask } from 'ng-pli-util'; import { Observable } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class PliCnfEvaluationTaskService { private environment; private httpClient; private headerJson; static TASK_STORAGE: string; constructor(environment: any, httpClient: HttpClient); getByPromCodigo(promCodigo: number): Observable; getById(id: number): Observable; getByPromCodeAndId(promCode: number, id: number): Observable; save(pliCnfEvaluationTask: PliCnfEvaluationTask): Observable; delete(id: number): Observable; /** It returns a list of tasks according to list of prom codigo */ getByPromCodigoAndNoSegmentation(listPromCod: Array): Observable; getByPromCodigoAndEvaluator(promCod: number, evaluator: string): Observable; getByPromCodigoAndTypeAndVisible(promCodigo: number, type: number): Observable; /*** * Unencript the information from local Storage * @author Jkatz */ getEncryptedTasks(username: string, patCodigo: string, promCodigo: string): Promise; /** * get task by profile encrypted * @param username * @param patCodigo */ getByProfile(username: string, patCodigo: string, promCodigo: string): Observable; /** Saves a task array with its associated document and form records */ saveAll(pliCnfEvaluationTask: PliCnfEvaluationTask[]): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }