import { Observable } from "rxjs"; import * as i0 from "@angular/core"; export interface FileInputOptions { /** * Accept multiple files in a single file dropbox * @default - false */ multiple?: boolean; /** * File types to accept for file input * @default - accept all */ acceptFileType: string; /** * Applicable when multiple flies are accepted. Clears current list of files * when new files are dragged or added when true. A value of false will simply * append the added files to pre-existing uploaded files instead of clearing * @default true */ clearFilesOnAdd: boolean; /** * Whether or not to display information (name / file type icon) about files uploaded. * This can be disabled if users want to use their own interface to display uploaded files, * such as custom tables * @default true */ displayFileInfo: boolean; /** * Method for making backend calls when files are uploaded. When multiple files are uploaded * at once, this method is called multiple times - one for each file. If no method is provided, * then the files will simply be uploaded browser side only * @default undefined */ uploadRequest?: (file: File) => Observable; } export declare class FileInputConfig implements Required { multiple: boolean; acceptFileType: any; clearFilesOnAdd: boolean; displayFileInfo: boolean; uploadRequest: any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }