import { IConfig } from './types'; export declare const throwError: (config: IConfig) => void; export declare const throwUploadError: (config: IConfig, file: File) => void;