import type { BffCatalogRelatedEntityList, CatalogApiParams } from '@redocly/theme/core/types';
export declare function useFetchCatalogEntitiesRelations({ entityKey, limit, filter, sort, search }: CatalogApiParams & {
    entityKey: string;
}, initialRelationsList?: BffCatalogRelatedEntityList): {
    query: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<import("@tanstack/react-query").InfiniteData<BffCatalogRelatedEntityList, unknown>, Error>;
    items: import("@redocly/theme/core/types").BffCatalogRelatedEntity[];
    total: number;
};
//# sourceMappingURL=useFetchCatalogEntitiesRelations.d.ts.map