UNPKG

@mintlify/scraping

Version:

Scrape documentation frameworks to Mintlify docs

13 lines (11 loc) 415 B
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>;