import { FormBuilder, FormGroup } from '@angular/forms'; import { MessageService } from 'primeng/api'; import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog'; import { DataStoreService } from '../../../services/data-store.service'; import { AutoComplete, AutoCompleteCompleteEvent, AutoCompleteSelectEvent } from 'primeng/autocomplete'; import { FileService } from '../../../services/file.service'; import { ProductOCR, ProductXS } from '../../../models/shared/product'; import { ReferentialService } from '../../../services/referential.service'; import { LibConfig } from '../../../config.token'; import * as i0 from "@angular/core"; export declare class DevicePopupComponent { private readonly messageService; private config; private readonly fileService; private readonly refencielService; private readonly formBuilder; ref: DynamicDialogRef; private readonly store; private readonly dialogService; registerForm: FormGroup; loading: boolean; autoComplete_loading: boolean; submitted: boolean; applicationName: string; autoComplete: AutoComplete; selectedFile: File | null; productOCR: ProductOCR; productByRef: ProductXS; invalid_ref: boolean; suggestedCommercialRefs: string[]; suggestedTechnicalRefs: string[]; maxDate: Date; reference_help_center_url: string; constructor(messageService: MessageService, config: LibConfig, fileService: FileService, refencielService: ReferentialService, formBuilder: FormBuilder, ref: DynamicDialogRef, store: DataStoreService, dialogService: DialogService); onFilesChanged(file: File): void; private handleInvalidInvoice; onItniFrom(): FormGroup<{ fullDescription: import("@angular/forms").FormControl; productReference: import("@angular/forms").FormControl; productTechReference: import("@angular/forms").FormControl; salesDate: import("@angular/forms").FormControl; brand: import("@angular/forms").FormControl; family: import("@angular/forms").FormControl; fileUpload: import("@angular/forms").FormControl; fileId: import("@angular/forms").FormControl; }>; onSetFrom(prd?: ProductXS): FormGroup<{ fullDescription: import("@angular/forms").FormControl; productReference: import("@angular/forms").FormControl; productTechReference: import("@angular/forms").FormControl; brand: import("@angular/forms").FormControl; family: import("@angular/forms").FormControl; salesDate: import("@angular/forms").FormControl; fileUpload: import("@angular/forms").FormControl; fileId: import("@angular/forms").FormControl; }>; onSelectProduct(event: AutoCompleteSelectEvent): void; displayReferences(event: AutoCompleteCompleteEvent): void; getProductsByRef(ref: string): void; closePopup(): void; onRemoveFile(): void; submit(): void; parseJsonString(jsonString: string): any; openIsGEMPopup(): void; onSelectProductByTechRef(event: any): void; get f(): { [key: string]: import("@angular/forms").AbstractControl; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }