UNPKG

@redocly/theme

Version:

Shared UI components lib

14 lines (13 loc) 562 B
import type { CatalogEntityConfig, EntitiesCatalogConfig } from '@redocly/config'; import type { BffCatalogEntity } from '../../../core/types'; type Props = { catalogConfig: CatalogEntityConfig; entitiesCatalogConfig?: EntitiesCatalogConfig; revision?: string | null; version?: string | null; }; type BaseEntity = Pick<BffCatalogEntity, 'key' | 'type'>; export declare function useCatalogEntityDetails({ catalogConfig, entitiesCatalogConfig, revision, version, }: Props): { getEntityDetailsLink: (entity: BaseEntity) => string; }; export {};