import { FirebaseApp, FirebaseOptions } from "firebase/app"; import { Firestore } from "firebase/firestore"; import { Functions } from "firebase/functions"; import { AWSVariables, FirebaseServices } from "../types/index"; /** * This method initialize a Firebase app if no other app has already been initialized. * @param options - an object w/ every necessary Firebase option to init app. * @returns - the initialized Firebase app object. */ export declare const initializeFirebaseApp: (options: FirebaseOptions) => FirebaseApp; /** * This method returns the Firestore database instance associated to the given Firebase application. * @param app - the Firebase application. * @returns - the Firebase Firestore associated to the application. */ export declare const getFirestoreDatabase: (app: FirebaseApp) => Firestore; /** * This method returns the Cloud Functions instance associated to the given Firebase application. * @param app - the Firebase application. * @returns - the Cloud Functions associated to the application. */ export declare const getFirebaseFunctions: (app: FirebaseApp) => Functions; /** * Retrieve the configuration variables for the AWS services (S3, EC2). * @returns - the values of the AWS services configuration variables. */ export declare const getAWSVariables: () => AWSVariables; /** * Return the core Firebase services instances (App, Database, Functions). * @param apiKey - the API key specified in the application config. * @param authDomain - the authDomain string specified in the application config. * @param projectId - the projectId specified in the application config. * @param messagingSenderId - the messagingSenderId specified in the application config. * @param appId - the appId specified in the application config. * @returns > */ export declare const initializeFirebaseCoreServices: (apiKey: string, authDomain: string, projectId: string, messagingSenderId: string, appId: string) => Promise; //# sourceMappingURL=services.d.ts.map