@mintlify/common
Version:
Commonly shared code within Mintlify
7 lines (6 loc) • 364 B
TypeScript
import { DecoratedNavigationConfig } from '@mintlify/validation';
/**
* Assumes page hrefs in navWithPageContext have a leading / but config page paths do not.
* Outputted dictionary will NOT have a leading / in the dictionary keys.
*/
export declare function generatePathToVersionDict(decoratedNav: DecoratedNavigationConfig): Map<string, string | undefined>;