///
///
///
import type { Readable } from 'stream';
export interface IFileStore {
/**
* The base URL to access the filestore's files. For example:
* - http://localhost:4000
* - https://s3.amazonaws.com/my-bucket
* - https://my-bucket.nyc3.digitaloceanspaces.com
*/
readonly accessURL: string;
init?(): Promise;
deleteFile(filePath: string): Promise;
fileExists(filePath: string): Promise;
getFile(filePath: string): Promise;
listFiles(prefix?: string): Promise;
saveFile(filePath: string, fileContent: string | Uint8Array | Buffer | Readable, mimeType?: string, preventDuplicates?: boolean): Promise;
}