///
///
import firebase from 'firebase/compat/app';
import 'firebase/compat/storage';
import ITranslation from '../Interfaces/Translation';
export interface IImageInfo {
readonly img_path: string;
readonly img_ref?: string;
readonly img_title?: ITranslation[];
readonly img_alt?: ITranslation[];
}
export declare const removeTheBeastFromPath: (path: string) => string;
export declare const getImgFilePathWithRef: (img: IImageInfo | undefined) => string;
export declare const uploadFileToPath: (useService: {
name: string;
config: any;
}, file: File, path: string, options?: {
getRef?: boolean;
useFileName?: boolean;
}) => Promise;
export declare const uploadStringToPath: (useService: {
name: string;
config: any;
}, value: string, path: string, name?: string, type?: string, options?: {
firebaseApp?: firebase.app.App;
generateFirebasePublicUrl?: boolean;
getRef?: boolean;
}) => Promise;
export declare const getBase64DataForUpload: (base64: string, path: string, forcedType?: string) => {
data: string;
contentType: string;
};
export declare const downloadFileFromUrl: (imgPath: string) => Promise;
export declare const parseImageToBucket: (image: any, space: firebase.firestore.DocumentReference | string, folderName: string, useService: {
name: string;
config: any;
}, getRef?: boolean) => Promise;
export declare const downloadFile: (filePath: string, path: any, admin: any, os: any) => Promise;
export declare const flushImgix: (path: string, imgixBearer: string) => Promise;