import type { IEnvironment } from '../shared/types.js'; import { type IFirebaseOptions } from './types.js'; /** * Reads the Firebase options from the environment variables. * @param environment The current environment. * @param firebaseConfigProcessEnvKey The key of the environment variable containing the Firebase configuration. * @returns The Firebase options. * @throws * - INVALID_FIREBASE_CONFIG: if the provided env var key is invalid or not set. * - INVALID_ENVIRONMENT: if the provided environment is not recognized. * - FAILED_TO_READ_FIREBASE_CONFIG: if the Firebase configuration could not be read from the environment variable. */ export declare const readFirebaseOptions: (environment: IEnvironment | undefined, firebaseConfigProcessEnvKey: string | undefined) => IFirebaseOptions;