site/node_modules/rehype-mathjax/lib/create-renderer.d.ts
2024-10-14 08:09:33 +02:00

17 lines
710 B
TypeScript

/**
* 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;