site/node_modules/mdast-util-to-hast/lib/handlers/image.d.ts
2024-10-14 08:09:33 +02:00

16 lines
428 B
TypeScript

/**
* Turn an mdast `image` node into hast.
*
* @param {State} state
* Info passed around.
* @param {Image} node
* mdast node.
* @returns {Element}
* hast node.
*/
export function image(state: State, node: Image): Element;
export type Element = import('hast').Element;
export type Properties = import('hast').Properties;
export type Image = import('mdast').Image;
export type State = import('../state.js').State;