mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-10 04:28:15 +08:00
16 lines
428 B
TypeScript
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;
|