import { AbstractControl } from '@angular/forms'; import { BaseInputComponent } from '../base/baseInput.component'; import { ChangeDetectorRef, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; import { FileInputFieldDataInterface } from './file.interfaces'; import { GlobalEventsService, FilesRESTService } from 'ramster-ui-core'; import { MatDialog } from '@angular/material'; import { Subscription } from 'rxjs'; export declare class FileInputComponent extends BaseInputComponent implements OnChanges { changeDetectorRef: ChangeDetectorRef; filesRESTService: FilesRESTService; globalEventsService: GlobalEventsService; matDialogRef: MatDialog; backgroundImageUrl: string; defaultMaxFileSizeMB: number; dragLastMouseX: number; dragLastMouseY: number; dragLeaveTimeout: NodeJS.Timeout; dropZoneActive: boolean; dropZoneActiveAreaHeight: string; dropZoneActiveAreaWidth: string; fileName: string; forceShowPreviewCancelButton: boolean; hasLoader: boolean; previewCancelButtonIconUrl: string; previewHeight: string; fileIsLoading: boolean; previewIsRound: boolean; previewWidth: string; showChooseFileButton: boolean; subscriptions: Subscription[]; inputElementRef: ElementRef; masterContainerRef: ElementRef; placeholderRef: ElementRef; fieldData: FileInputFieldDataInterface; constructor(changeDetectorRef: ChangeDetectorRef, filesRESTService: FilesRESTService, globalEventsService: GlobalEventsService, matDialogRef: MatDialog); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; getExtName(fileName: string): string; onFileChange(event: any): void; onDragLeave(event: MouseEvent): void; onDragOver(event: Event): void; onDrop(event: DragEvent): void; onLabelClick(): void; setDropZoneActiveAreaDimensions(): void; uploadFile(file: File, fileOptions: { imageCroppingOptions?: { [x: string]: any; }; inputFileName: string; outputFileName: string; }, inputFormControl: AbstractControl): Promise; }