import React from "react"; import { DefaultAppBarProps, ModeController } from "@firecms/core"; import { CloudUserManagement, ProjectConfig } from "./hooks"; import { FireCMSCloudAppProps } from "./FireCMSCloudAppProps"; import { FireCMSAppConfig, FireCMSBackend } from "./types"; /** * This is the default implementation of a FireCMS app using the Firebase services * as a backend. * You can use this component as a full app, by specifying collections and * entity collections. * * This component is in charge of initialising Firebase, with the given * configuration object. * * @param props * @group Firebase */ export declare function FireCMSCloudApp({ projectId, appConfig, backendApiHost, // TODO onAnalyticsEvent, basePath, baseCollectionPath }: FireCMSCloudAppProps): React.JSX.Element; export type FireCMSClientProps = { fireCMSBackend: FireCMSBackend; projectId: string; appConfig?: FireCMSAppConfig; modeController: ModeController; /** * A component that gets rendered on the upper side of the main toolbar. */ FireCMSAppBarComponent?: React.ComponentType>; basePath?: string; baseCollectionPath?: string; onAnalyticsEvent?: (event: string, data?: object) => void; }; export declare const FireCMSClient: ({ projectId, fireCMSBackend, ...props }: FireCMSClientProps) => React.JSX.Element; export declare function FireCMSClientWithController({ projectConfig, userManagement, projectId, fireCMSBackend, appConfig, customizationLoading, ...props }: FireCMSClientProps & { logo?: string; userManagement: CloudUserManagement; projectConfig: ProjectConfig; projectId: string; customizationLoading: boolean; }): React.JSX.Element;