import { Entity, EntityCollection, EntityTableController, User } from "@firecms/core"; import { FirebaseApp } from "@firebase/app"; export type FirestoreTableControllerProps = any> = { firebaseApp?: FirebaseApp; /** * Full path where the data of this table is located */ fullPath: string; /** * The collection that is represented by this config. */ collection: EntityCollection; /** * List of entities that will be displayed on top, no matter the ordering. * This is used for reference fields selection */ entitiesDisplayedFirst?: Entity[]; }; /** * Use this hook to build a controller for the {@link EntityCollectionTable}. * This controller * * @param fullPath * @param collection * @param forceFilterFromProps * @param firebaseApp */ export declare function useFirestoreTableController = any, USER extends User = User>({ fullPath, collection, firebaseApp }: FirestoreTableControllerProps): EntityTableController;