import { ElementRef, EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { FileUpload } from 'tn-custom-primeng/fileupload';
import { ComponentBase } from '../../classes/base/component-base';
import { Filter } from '../../models/grid-info';
import { NotifierService } from '../../services/notifier.service';
import { FileExplorerService } from '../file-explorer/services/file-explorer.service';
import { FileObjectService } from '../file-explorer/services/file-object.service';
export declare class ImageUploaderComponent extends ComponentBase implements OnInit, OnDestroy, ControlValueAccessor {
    private _notifierService;
    private _fileExplorerService;
    private _fileObjectService;
    imageViewer: ElementRef;
    fileControl: FileUpload;
    templateItemsUploadDefault: TemplateRef<any>;
    templateItemUploadDefault: TemplateRef<any>;
    set templateItemsUploadCustom(value: TemplateRef<any>);
    set templateItemUploadCustom(value: TemplateRef<any>);
    isAvatar: boolean;
    multiple: boolean;
    accept: string;
    chooseLabel: string;
    defaultNoImageUrl: string;
    disabled: boolean;
    loadByEntityKey: boolean;
    _entityKey: string;
    set entityKey(value: string);
    onChanged: EventEmitter<any>;
    onInit: EventEmitter<any>;
    lstFileUploaded: any[];
    lstFileIdUploaded: any[];
    apiUploadUrl: string;
    rawFileName: string;
    templateItemsUpload: TemplateRef<any>;
    templateItemUpload: TemplateRef<any>;
    loadingTimeout: any;
    loading: boolean;
    onChange: Function;
    onTouched: Function;
    ready: boolean;
    showImage: boolean;
    currentSrc: string;
    constructor(_injector: Injector, _notifierService: NotifierService, _fileExplorerService: FileExplorerService, _fileObjectService: FileObjectService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    writeValue(obj: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    getListFileByEntityKey(): void;
    getListFile(): void;
    getListFileByFilter(filters: Filter[]): void;
    deleteAll(): void;
    deleteAvatar(item: any): void;
    onSelectThumbnailClick(): void;
    onBeforeUpload(evt: any): void;
    onUploadEvent(event: any): Promise<void>;
    fireEventAndGetFile(): void;
    fireEvent(): void;
    onError(ev: any): void;
    showImageViewer(src: string): void;
    _markLoading(): void;
    _unmarkLoading(): void;
}
//# sourceMappingURL=image-uploader.component.d.ts.map