mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-07 19:25:13 +02:00
14 lines
526 B
TypeScript
14 lines
526 B
TypeScript
/**
|
|
* A plugin to transform an HTML (hast) tree to a JS (estree).
|
|
* `hast-util-to-estree` does all the work for us!
|
|
*
|
|
* @param {Readonly<ProcessorOptions>} options
|
|
* Configuration (optional).
|
|
* @returns
|
|
* Transform.
|
|
*/
|
|
export function rehypeRecma(options: Readonly<ProcessorOptions>): (tree: Root) => Program;
|
|
export type Program = import('estree-jsx').Program;
|
|
export type Root = import('hast').Root;
|
|
export type ProcessorOptions = import('../core.js').ProcessorOptions;
|
|
//# sourceMappingURL=rehype-recma.d.ts.map
|