1 | /**
|
2 | * Plugin to add support for serializing as HTML.
|
3 | *
|
4 | * @param {Options | null | undefined} [options]
|
5 | * Configuration (optional).
|
6 | * @returns {undefined}
|
7 | * Nothing.
|
8 | */
|
9 | export default function rehypeStringify(options?: Options | null | undefined): undefined;
|
10 | export default class rehypeStringify {
|
11 | /**
|
12 | * Plugin to add support for serializing as HTML.
|
13 | *
|
14 | * @param {Options | null | undefined} [options]
|
15 | * Configuration (optional).
|
16 | * @returns {undefined}
|
17 | * Nothing.
|
18 | */
|
19 | constructor(options?: Options | null | undefined);
|
20 | compiler: (tree: import("hast").Root, file: import("vfile").VFile) => string;
|
21 | }
|
22 | export type Root = import('hast').Root;
|
23 | export type Options = import('hast-util-to-html').Options;
|
24 | export type Compiler = import('unified').Compiler<Root, string>;
|