site/node_modules/rehype-mathjax/lib/create-renderer.d.ts

17 lines
710 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
/**
* Create a renderer.
*
* @param {Options} options
* Configuration.
* @param {OutputJax} output
* Output jax.
* @returns {Renderer}
* Rendeder.
*/
export function createRenderer(options: Options, output: import("mathjax-full/js/core/OutputJax.js").OutputJax<HTMLElement, Text, Document>): Renderer;
export type Element = import('hast').Element;
export type MathDocument = import('mathjax-full/js/core/MathDocument.js').MathDocument<HTMLElement, Text, Document>;
export type OutputJax = import('mathjax-full/js/core/OutputJax.js').OutputJax<HTMLElement, Text, Document>;
export type Options = import('./create-plugin.js').Options;
export type Renderer = import('./create-plugin.js').Renderer;