import fs from 'fs'; import { StorageResult, StorageSizeResult, FileInfo } from './storage'; export declare const addBase64FilesToStorage: (fileBase64: string, chatflowid: string, fileNames: string[], orgId: string) => Promise; export declare const addArrayFilesToStorage: (mime: string, bf: Buffer, fileName: string, fileNames: string[], ...paths: string[]) => Promise; export declare const addSingleFileToStorage: (mime: string, bf: Buffer, fileName: string, ...paths: string[]) => Promise; export declare const getFileFromUpload: (filePath: string) => Promise; export declare const getFileFromStorage: (file: string, ...paths: string[]) => Promise; export declare const getFilesListFromStorage: (...paths: string[]) => Promise; /** * Prepare storage path */ export declare const getStoragePath: () => string; /** * Get the storage type - local or cloud */ export declare const getStorageType: () => string; export declare const removeFilesFromStorage: (...paths: string[]) => Promise; export declare const removeSpecificFileFromUpload: (filePath: string) => Promise; export declare const removeSpecificFileFromStorage: (...paths: string[]) => Promise; export declare const removeFolderFromStorage: (...paths: string[]) => Promise; export declare const streamStorageFile: (chatflowId: string, chatId: string, fileName: string, orgId: string) => Promise; /** * Get the total storage size for an organization (unified across all providers) */ export declare const getStorageSize: (orgId: string) => Promise;