import { EventEmitter, OnInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { FileUpload } from 'tn-custom-primeng/fileupload';
import { ModuleConfigService } from '../../services/module-config.service';
import { NotifierService } from '../../services/notifier.service';
import { UserService } from '../../services/user.service';
import { FileExplorerService } from '../file-explorer/services/file-explorer.service';
import { FileObjectService } from '../file-explorer/services/file-object.service';
export declare class AvatarUploaderComponent implements OnInit, ControlValueAccessor {
    private _fileExplorerService;
    private _moduleConfigService;
    private _notifierService;
    private _fileObjectService;
    private _userService;
    fileControl: FileUpload;
    chooseLabel: string;
    defaultNoImageUrl: string;
    customDefaultImageUrl: any;
    gender: number;
    forCurrentUser?: boolean;
    disabled: boolean;
    fileIdUploaded: any;
    _entityKey: string;
    set entityKey(value: string);
    onUploaded: EventEmitter<any>;
    onRemoved: EventEmitter<any>;
    readonly CURRENT_USER_KEY = "current_user_info";
    apiUploadUrl: string;
    rawFileName: string;
    loadingTimeout: any;
    loading: boolean;
    notification: string;
    showNoti: boolean;
    onChange: Function;
    onTouched: Function;
    private _moduleConfig;
    constructor(_fileExplorerService: FileExplorerService, _moduleConfigService: ModuleConfigService, _notifierService: NotifierService, _fileObjectService: FileObjectService, _userService: UserService);
    ngOnInit(): void;
    setDefaultImage(): void;
    writeValue(obj: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    getImageUrl(): string;
    getAvartarFile(): void;
    deleteAvatar(): void;
    onSelectThumbnailClick(): void;
    onBeforeUpload(evt: any): void;
    onUploadEvent(event: any): void;
    onError(ev: any): void;
    _markLoading(): void;
    _unmarkLoading(): void;
    setNoti(msg?: any): void;
}
//# sourceMappingURL=avatar-uploader.component.d.ts.map