mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 02:08:16 +08:00
17 lines
604 B
TypeScript
17 lines
604 B
TypeScript
/**
|
|
* Turn an mdast `imageReference` node into hast.
|
|
*
|
|
* @param {State} state
|
|
* Info passed around.
|
|
* @param {ImageReference} node
|
|
* mdast node.
|
|
* @returns {Array<ElementContent> | ElementContent}
|
|
* hast node.
|
|
*/
|
|
export function imageReference(state: State, node: ImageReference): Array<ElementContent> | ElementContent;
|
|
export type Element = import("hast").Element;
|
|
export type ElementContent = import("hast").ElementContent;
|
|
export type Properties = import("hast").Properties;
|
|
export type ImageReference = import("mdast").ImageReference;
|
|
export type State = import("../state.js").State;
|