import type { SizeUnit } from './types';
export declare const SIZE_MAP: {
    B: number;
    KB: number;
    MB: number;
    GB: number;
};
export declare function returnFileSize(number: number): string;
export declare function getCurrentDate(needTime?: boolean): string;
export declare function abridgeName(inputName: string, leftCount?: number, rightCount?: number): string;
export declare function getFileSizeText(number: number): string;
export declare function isOverSizeLimit(fileSize: number, sizeLimit: number, unit: SizeUnit): boolean;
export declare function isOverSizeLimit1(fileSize: number, sizeLimit: number, unit: SizeUnit): boolean;
export declare const urlCreator: () => {
    new (url: string | URL, base?: string | URL): URL;
    prototype: URL;
    createObjectURL(obj: Blob | MediaSource): string;
    revokeObjectURL(url: string): void;
};
export declare function getFileUrlByFileRaw(fileRaw: File): Promise<string>;
