import { Entity, EntityCollection, EntityTableController, FilterValues, User } from "../../types"; export type DataSourceEntityCollectionTableControllerProps = any> = { /** * 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[]; lastDeleteTimestamp?: number; /** * Force filter to be applied to the table. */ forceFilter?: FilterValues; }; /** * Use this hook to build a controller for the {@link EntityCollectionTable}. * This controller is bound to data in a path in your specified datasource. * * Note that you can build your own hook returning a {@link EntityTableController} * if you would like to display different data. * * @param fullPath * @param collection * @param entitiesDisplayedFirst * @param lastDeleteTimestamp * @param forceFilterFromProps */ export declare function useDataSourceEntityCollectionTableController = any, UserType extends User = User>({ fullPath, collection, entitiesDisplayedFirst, lastDeleteTimestamp, forceFilter: forceFilterFromProps, }: DataSourceEntityCollectionTableControllerProps): EntityTableController;