/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { ElementRef } from '@angular/core'; import { BaseCustomControl } from '../custom-control/base-custom-control'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { DatoSnackbar } from '../snackbar/snackbar.service'; import { DatoTranslateService } from '../services/translate.service'; export declare class DatoFileInputComponent extends BaseCustomControl implements ControlValueAccessor { private controlDir; private translate; private snackbar; multi: boolean; input: ElementRef; disabled: boolean; set accept(contentTypes: string); constructor(controlDir: NgControl, translate: DatoTranslateService, snackbar: DatoSnackbar); ngOnInit(): void; emitFiles(files: FileList): void; openFileUpload(): void; setFiles(files: any): void; writeValue(value: null): void; setDisabledState(isDisabled: boolean): void; ngOnDestroy(): void; private showErrors; }