import { HttpClient, HttpHeaders } from '@angular/common/http'; import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import { BlockableUI, Message, PrimeNGConfig } from '@axulus/uikit/api'; import { Subscription } from 'rxjs'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "@axulus/uikit/api"; import * as i3 from "@axulus/uikit/button"; import * as i4 from "@axulus/uikit/progressbar"; import * as i5 from "@axulus/uikit/messages"; import * as i6 from "@axulus/uikit/ripple"; export declare class FileUpload implements AfterViewInit, AfterContentInit, OnInit, OnDestroy, BlockableUI { private el; sanitizer: DomSanitizer; zone: NgZone; private http; cd: ChangeDetectorRef; config: PrimeNGConfig; name: string; url: string; method: string; multiple: boolean; accept: string; disabled: boolean; auto: boolean; withCredentials: boolean; maxFileSize: number; invalidFileSizeMessageSummary: string; invalidFileSizeMessageDetail: string; invalidFileTypeMessageSummary: string; invalidFileTypeMessageDetail: string; invalidFileLimitMessageDetail: string; invalidFileLimitMessageSummary: string; style: any; styleClass: string; previewWidth: number; chooseLabel: string; uploadLabel: string; cancelLabel: string; chooseIcon: string; uploadIcon: string; cancelIcon: string; showUploadButton: boolean; showCancelButton: boolean; mode: string; headers: HttpHeaders; customUpload: boolean; fileLimit: number; uploadStyleClass: string; cancelStyleClass: string; removeStyleClass: string; chooseStyleClass: string; onBeforeUpload: EventEmitter; onSend: EventEmitter; onUpload: EventEmitter; onError: EventEmitter; onClear: EventEmitter; onRemove: EventEmitter; onSelect: EventEmitter; onProgress: EventEmitter; uploadHandler: EventEmitter; onImageError: EventEmitter; templates: QueryList; advancedFileInput: ElementRef; basicFileInput: ElementRef; content: ElementRef; set files(files: File[]); get files(): File[]; get basicButtonLabel(): string; _files: File[]; progress: number; dragHighlight: boolean; msgs: Message[]; fileTemplate: TemplateRef; contentTemplate: TemplateRef; toolbarTemplate: TemplateRef; uploadedFileCount: number; focus: boolean; uploading: boolean; duplicateIEEvent: boolean; translationSubscription: Subscription; constructor(el: ElementRef, sanitizer: DomSanitizer, zone: NgZone, http: HttpClient, cd: ChangeDetectorRef, config: PrimeNGConfig); ngAfterContentInit(): void; ngOnInit(): void; ngAfterViewInit(): void; choose(): void; onFileSelect(event: any): void; isFileSelected(file: File): boolean; isIE11(): boolean; validate(file: File): boolean; private isFileTypeValid; getTypeClass(fileType: string): string; isWildcard(fileType: string): boolean; getFileExtension(file: File): string; isImage(file: File): boolean; onImageLoad(img: any): void; upload(): void; clear(): void; remove(event: Event, index: number): void; isFileLimitExceeded(): boolean; isChooseDisabled(): boolean; checkFileLimit(): void; clearInputElement(): void; clearIEInput(): void; hasFiles(): boolean; onDragEnter(e: any): void; onDragOver(e: any): void; onDragLeave(event: any): void; onDrop(event: any): void; onFocus(): void; onBlur(): void; formatSize(bytes: any): string; onBasicUploaderClick(): void; onBasicKeydown(event: KeyboardEvent): void; imageError(event: any): void; getBlockableElement(): HTMLElement; get chooseButtonLabel(): string; get uploadButtonLabel(): string; get cancelButtonLabel(): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class FileUploadModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }