import type { Buffer } from "buffer";
export interface UploadFile {
    name: string;
    data: Buffer;
    type: string;
}
export interface UploadResult {
    url: string;
    size: number;
    name: string;
    uuid?: string;
    key?: string;
}
export declare function uploadToProvider(files: UploadFile[], provider?: string): Promise<UploadResult[]>;
export declare function getMimeType(filePath: string): string;
export declare function readFilesFromPaths(filePaths: string[]): Promise<{
    name: string;
    data: any;
    type: string;
}[]>;
