@mintlify/scraping
Version:
Scrape documentation frameworks to Mintlify docs
7 lines (6 loc) • 402 B
TypeScript
import type { Root as HastRoot, Element, ElementContent } from 'hast';
import type { MdxJsxFlowElementHast, MdxJsxTextElementHast } from 'mdast-util-mdx-jsx';
export type HastNode = Element;
export type HastNodeIndex = number | undefined;
export type HastNodeParent = Element | MdxJsxTextElementHast | MdxJsxFlowElementHast | HastRoot | undefined;
export type HastChildrenType = Array<ElementContent>;