@mintlify/scraping
Version:
Scrape documentation frameworks to Mintlify docs
7 lines (6 loc) • 300 B
TypeScript
import type { Root as MdastRoot } from 'mdast';
/** There should only be one root; this replaces any inner roots
* that we might get because of us converting the content manually
* to `contentAsRoot` from `content`
*/
export declare function unifiedRemoveNestedRoots(): (node: MdastRoot) => void;