import * as React from 'react'; import { File } from '../../commonTypes'; import { FileDropProps, FileDropInnerError } from './types'; export declare const compareFiles: (firstFile: File, secondFile: File) => boolean; export declare const checkHasThisFileAlreadyBeenLoaded: (props: FileDropProps, file: File) => boolean; export declare const getErrorCode: (props: FileDropProps, file: File) => number; export declare const errorCodeToMessage: (errorCode: number) => string; export declare const getErrorMessage: (error: string | Error | FileDropInnerError) => string; export declare const checkFiles: (props: FileDropProps, accepted: File[], rejected: File[]) => { error: FileDropInnerError | null; file: File; }; export declare const DescriptionMessage: (props: { children: string; }) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; export declare const createDownloadLink: (file: File, fileName: string | undefined, theme: { button: string; cloudIcon: string; content: string; description: string; disabled: string; dragActive: string; errorIcon: string; fileDownloadLink: string; invalid: string; progressLoader: string; required: string; retryButton: string; retryIcon: string; status: string; successIcon: string; wrapper: string; }) => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null;