import { HttpClient } from '@angular/common/http'; import { AuthenticationService } from './authentication.service'; import { Observable } from 'rxjs'; import { SponsorshipLetter } from 'ng-pli-util'; import * as i0 from "@angular/core"; export declare class SponsorshipLetterService { private environment; private httpClient; private authService; private headerJson; constructor(environment: any, httpClient: HttpClient, authService: AuthenticationService); private subjectValidateSponsorshipLetter; /** It returns the sponsorship letter by promCodigo */ getListByPromCodigo(id: number): Observable; /** It returns the sponsorship letter by id */ getById(id: number): Observable; /** It deletes a form by id */ delete(id: any): Observable; /** It saves a sponsorship-letter */ save(sponsorshipLetter: SponsorshipLetter): Observable; /** * It returns the html by combination of number, promCodigo and id sponsorshipletter {html : '..'} * @param promCodigo prom code * @param number number of the applicationthis is NOT the application id * @param id sponsorship-letter id */ getHtmlByNumberAndPromCodigo(promCodigo: number, number: string, id: number): Observable; getSubjectValidateSponsorshipLetter(): Observable; setSubjectValidateSponsorshipLetter(getSubjectValidateSponsorshipLetter?: boolean): void; /** It saves a sponsorship-letter array */ saveAll(sponsorshipLetter: SponsorshipLetter[]): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }