interface IS3Config { region: string; accessKeyId: string; secretAccessKey: string; } export declare const BASE_S3_URL = "https://8gucycac5l.execute-api.ca-central-1.amazonaws.com/production/"; export declare const BASE_S3_URL_TEST = "https://bam4zfcos7.execute-api.ca-central-1.amazonaws.com/production/"; /** * Upload new value at provided path from S3 Bucket. * @param config - Config values for S3 bucket * @param bucketName - S3 Bucket in which folder can be found * @param path - Full path for file to delete, including file name and type extention * @param fileName - Name of the file to add (without type extention) * @param fileData - The data to be update, either a File or a string (Base64), * @param getRef - Optionnal. If ref to file should be provided in return value */ export declare const uploadToS3Bucket: (config: IS3Config, bucketName: string, path: string, fileName: string, fileData: File | string, getRef?: boolean) => Promise; /** * Delete a specific file at provided path from S3 Bucket. * @param config - Config values for S3 bucket * @param bucketName - S3 Bucket in which folder can be found * @param fullPath - Full path for file to delete, including file name and type extention */ export declare const deleteFromS3Bucket: (config: IS3Config, bucketName: string, fullPath: string) => Promise; /** * Deleted all contents in folder from path provided. * @param config - Config values for S3 bucket * @param bucketName - S3 Bucket in which folder can be found * @param folderPath - Path to the folder to delete * @param deleteFilesFromFolder = Optionnal. If inner files should be deleted too. */ export declare const deleteFolderFromS3Bucket: (config: IS3Config, bucketName: string, folderPath: string, deleteFilesFromFolder?: boolean) => Promise; export {};