UNPKG

764 BTypeScriptView Raw
1/*! firebase-admin v12.0.0 */
2import { ProjectConfig, UpdateProjectConfigRequest } from './project-config';
3/**
4 * Manages (gets and updates) the current project config.
5 */
6export declare class ProjectConfigManager {
7 private readonly authRequestHandler;
8 /**
9 * Get the project configuration.
10 *
11 * @returns A promise fulfilled with the project configuration.
12 */
13 getProjectConfig(): Promise<ProjectConfig>;
14 /**
15 * Updates an existing project configuration.
16 *
17 * @param projectConfigOptions - The properties to update on the project.
18 *
19 * @returns A promise fulfilled with the updated project config.
20 */
21 updateProjectConfig(projectConfigOptions: UpdateProjectConfigRequest): Promise<ProjectConfig>;
22}