import { FileWithPath } from 'file-selector' ; import { UseFilePickerConfig } from '../interfaces' ; export interface Validator { validateBeforeParsing ( config , plainFiles ) : Promise < void > ; validateAfterParsing ( config , file , reader ) : Promise < void > ; }