import { OnInit, ChangeDetectorRef } from '@angular/core'; import { CommonService } from '../services/common.service'; import { CommonListsComponent } from './common.lists.component'; import { ApplicationBudget } from 'ng-pli-util'; import * as i0 from "@angular/core"; export declare abstract class FrontofficeCommonsComponent extends CommonListsComponent implements OnInit { protected commonService: CommonService; protected cdRef: ChangeDetectorRef; toastDuration: number; dateClose: boolean; promCodigo: number; stateId: number; stateName: string; constructor(commonService: CommonService, cdRef: ChangeDetectorRef); ngOnInit(): void; createApplicationBudgetTotalAmount(applicationId: string, budget: ApplicationBudget, creditAccepted: boolean, totalAmount?: number, totalOwnFunds?: number, totalFinancing?: number): any; createBudgetApplication(budget: ApplicationBudget, creditAccepted: boolean, totalAmount?: number, totalOwnFunds?: number, totalFinancing?: number): any; /** * Call the validataion service * @param cnfIniStateId Initial config status id, if not exist, get the config status id from the service * @returns True if actual date is before than end application date and the stateAppId is equals of the cnfIniStateId */ validateCloseApplicationProcess(cnfIniStateId?: number): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }