import { RcFile } from 'antd/lib/upload';
import { ImportRules } from '../types';
declare const _default: {
    getImportHint: ({ maxSize, types }: ImportRules, translate: (key: string) => string) => string;
    validateNumberOfLines: (file: File, maxLines: number) => Promise<boolean>;
    downloadFileByUrl: (url: string, env: string | undefined, accessToken: string | undefined, translate: (key: string) => string, alterFileName?: boolean, dateFormat?: string | undefined, createdAt?: number | undefined) => Promise<void> | undefined;
    getBeforeUploadHandler: (rules: ImportRules, checkNumberOfLines: boolean, onSuccess: (file: RcFile) => void, translate: (key: string) => string) => (file: RcFile) => Promise<void>;
};
export default _default;
