import { TemplateRef } from "@angular/core"; export interface IFileInputConfig { title: string allowText: boolean allowFile: boolean messageTmpl?: TemplateRef } export type TFileInput = { text: { input: string } file: { files: File[] } } export type TFileInputEvent = { type: Evt payload: TFileInput[Evt] }