astro-ghostcms/.pnpm-store/v3/files/b7/f19d6f3d9656a4cf6592a216ae8...

28 lines
606 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
import type {Root} from 'hast'
import type {Plugin} from 'unified'
import type {Options} from 'hast-util-to-html'
export type {CharacterReferences, Options} from 'hast-util-to-html'
/**
* Plugin to add support for serializing as HTML.
*
* @this
* Unified processor.
* @param
* Configuration (optional).
* @returns
* Nothing.
*/
declare const rehypeStringify: Plugin<
[(Options | null | undefined)?],
Root,
string
>
export default rehypeStringify
// Add custom settings supported when `rehype-stringify` is added.
declare module 'unified' {
interface Settings extends Options {}
}