UNPKG

@mintlify/scraping

Version:

Scrape documentation frameworks to Mintlify docs

8 lines (7 loc) 302 B
import { MintConfig, Tab } from '@mintlify/models'; import type { Root as HastRoot } from 'hast'; import type { Result } from '../types/result.js'; export declare function scrapeSite(html: string, url: string | URL, opts?: { hast?: HastRoot; tabs?: Array<Tab>; }): Promise<Result<MintConfig>>;