site/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.d.ts

15 lines
424 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
/**
* Turn an mdast `thematicBreak` node into hast.
*
* @param {State} state
* Info passed around.
* @param {ThematicBreak} node
* mdast node.
* @returns {Element}
* hast node.
*/
export function thematicBreak(state: State, node: ThematicBreak): Element;
export type Element = import('hast').Element;
export type ThematicBreak = import('mdast').ThematicBreak;
export type State = import('../state.js').State;