import { OnInit } from '@angular/core'; import { FormProperty } from 'verben-workflow-ui/src/lib/models'; import { DataType, File as FileData } from 'verben-workflow-ui/src/lib/models'; import { HttpWebRequestService, UtilService } from 'verben-workflow-ui/src/lib/services'; import { EnvironmentService } from 'verben-workflow-ui/src/lib/services'; import { ChangeDetectorRef } from '@angular/core'; import * as i0 from "@angular/core"; export type BoolInputType = 'switch' | 'checkbox' | 'radio'; export declare class FormControlComponent implements OnInit { private server; private utilService; private cdr; private envSvc; dataType: DataType; value: any; boolInputType: BoolInputType; formProperties: FormProperty[]; disabled: boolean; fileBaseUrl: string; fileUrl: string; constructor(server: HttpWebRequestService, utilService: UtilService, cdr: ChangeDetectorRef, envSvc: EnvironmentService); ngOnInit(): void; initializeDefaultValue(): void; onFileSelect(data: any, property: FormProperty): void; private generateRandomCode; setPreview(val: string): string; getFileArray(value: string): string[]; getFileExtension(fileUrl: string): string; uploadFile(files: FileData[], property: FormProperty): Promise; formatLabel(property: any): string; optionsArray(property: any): any; onSelectedFileChange(files: File[]): void; getSelectedFilesIfAny(property: FormProperty): File[]; selectedFilesMap: Map; getFiles(property: any): File[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }