import { ElementRef, EventEmitter } from '@angular/core';
import { AppLocalizationService } from '@laserfiche/lf-ui-components/internal-shared';
import * as i0 from "@angular/core";
/** @internal */
export declare class FeedbackImageUploadComponent {
    private localizationService;
    imageUploadError: EventEmitter<string>;
    feedbackImageBase64: EventEmitter<string | undefined>;
    inputFile?: ElementRef<HTMLInputElement>;
    showLoader: boolean;
    imageUploaded?: {
        name: string;
        rawBase64: string;
    };
    acceptedImageTypes: string;
    private acceptedImageFormats;
    private supportedImageTypeArray;
    private megabyteLimit;
    private imageSizeLimitBytes;
    localizedStrings: {
        OR: import("rxjs").Observable<string>;
        ATTACH_IMAGE: import("rxjs").Observable<string>;
        DRAG_DROP_FILE: import("rxjs").Observable<string>;
        REMOVE: import("rxjs").Observable<string>;
        BROWSE: import("rxjs").Observable<string>;
        OPTIONAL: import("rxjs").Observable<string>;
        UNKNOWN_ERROR: import("rxjs").Observable<string>;
    };
    constructor(localizationService: AppLocalizationService);
    dropHandler(ev: DragEvent): Promise<void>;
    dragOverHandler(ev: DragEvent): void;
    private tryReadAndValidateImageAsync;
    private uploadImageOrThrow;
    private checkImageForErrors;
    private handleImageUploadError;
    private getImageUploadErrorMessage;
    onInputClickArea(): void;
    onFileSelectedAsync(event: InputEvent): Promise<void>;
    private getBase64Async;
    removeImage(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackImageUploadComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackImageUploadComponent, "lf-feedback-image-upload", never, {}, { "imageUploadError": "imageUploadError"; "feedbackImageBase64": "feedbackImageBase64"; }, never, never, false, never>;
}
