import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core'; import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms'; import { Observable, Subject } from 'rxjs'; import { MatFormFieldControl } from '@angular/material/form-field'; import { ErrorStateMatcher } from '@angular/material/core'; import { ArquivoManagerService } from '@main-class/componentes/arquivo'; import * as i0 from "@angular/core"; export declare class InputFileUploadComponent implements ControlValueAccessor, MatFormFieldControl>, OnDestroy { private errorStateMatcher; ngControl: NgControl; private parentForm; private changeDetectorRef; private parentFormGroup; private arquivoService; static nextId: number; private $placeholder; private $disabled; private $required; value: any; multiple: any; limite: any; accept?: string | Array; template: 'chips' | 'preview' | 'manual'; agrupadores?: string[]; input: ElementRef; selectCancel: EventEmitter; stateChanges: Subject; change: EventEmitter; id: string; describedBy: string; constructor(errorStateMatcher: ErrorStateMatcher, ngControl: NgControl, parentForm: NgForm, changeDetectorRef: ChangeDetectorRef, parentFormGroup: FormGroupDirective, arquivoService: ArquivoManagerService); private onChange; private onTouched; get focused(): any; get empty(): boolean; onContainerClick(event: MouseEvent): void; get shouldLabelFloat(): boolean; get placeholder(): string; set placeholder(plh: string); get required(): any; set required(value: any); get disabled(): boolean; set disabled(value: boolean); get errorState(): boolean; get controlType(): string; setDescribedByIds(ids: string[]): void; ngOnDestroy(): void; upload(arquivo: UploadingAttachment): Observable; private parseLimite; private validaFormato; uploadNext(): void; onFileChange(event: any): void; openFileChooser(): void; remover(arquivo: UploadingAttachment): Promise; registerOnTouched(fn: any): void; registerOnChange(fn: any): void; setDisabledState(isDisabled: boolean): void; writeValue(obj: any): void; fileName(arquivo: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export interface UploadingAttachment { nome: string; length?: number; loading: boolean; progresso?: number; error?: any; file: File; }