@mintlify/common
Version:
Commonly shared code within Mintlify
9 lines (8 loc) • 373 B
TypeScript
import type { Root } from 'mdast';
/**
* Finds the export in the tree and returns the content of the export
* @param exportName the name of the export we want to find
* @param tree the content we are looking for the export in
* @returns the export
*/
export declare const findExport: (exportName: string, tree: Root, renamedExportName?: string) => string | undefined;