import { Entity } from '@backstage/catalog-model'; type FacetsEntitiesResponse = { items: Entity[]; cursor?: string; }; type FacetsInitialRequest = { text: string; }; /** * This hook asynchronously loads the entity owners using the facets endpoint. * EntityOwnerPicker uses this hook when mode="owners-only" is passed as prop. * All the owners are kept internally in memory and rendered in batches once requested * by the frontend. The values returned by this hook are compatible with `useQueryEntities` * hook, which is also used by EntityOwnerPicker. */ export declare function useFacetsEntities({ enabled }: { enabled: boolean; }): import("react-use/esm/useAsyncFn").AsyncFnReturn<(request: FacetsInitialRequest | FacetsEntitiesResponse, options?: { limit?: number; }) => Promise>; export {};