Files
site/node_modules/hast-util-from-html/lib/index.d.ts
T
site-admin 3ac81d5a52
deploy / build-and-publish (push) Successful in 1m37s
the editable site (validation-lab)
2026-11-21 08:03:55 +01:00

16 lines
517 B
TypeScript

/**
* Turn serialized HTML into a hast tree.
*
* @param {VFile | Value} value
* Serialized HTML to parse.
* @param {Readonly<Options> | null | undefined} [options]
* Configuration (optional).
* @returns {Root}
* Tree.
*/
export function fromHtml(value: VFile | Value, options?: Readonly<Options> | null | undefined): Root;
import { VFile } from 'vfile';
import type { Value } from 'vfile';
import type { Options } from './types.js';
import type { Root } from 'hast';
//# sourceMappingURL=index.d.ts.map