UNPKG

@redocly/theme

Version:

Shared UI components lib

9 lines (8 loc) 321 B
import type { EntitiesCatalogConfig } from '@redocly/config'; export type EntityWithTypeAndKey = { type?: string; key?: string; }; export declare function useCatalogEntityLink(entitiesCatalogConfig: EntitiesCatalogConfig | undefined): { getEntityLink: (entity: EntityWithTypeAndKey) => string | undefined; };