/** * @import {Element} from 'hast' * @import {Html} from 'mdast' * @import {State} from '../state.js' * @import {Raw} from '../../index.js' */ /** * Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise * nothing). * * @param {State} state * Info passed around. * @param {Html} node * mdast node. * @returns {Element | Raw | undefined} * hast node. */ export function html(state: State, node: Html): Element | Raw | undefined; import type { State } from '../state.js'; import type { Html } from 'mdast'; import type { Element } from 'hast'; import type { Raw } from '../../index.js'; //# sourceMappingURL=html.d.ts.map