astro-ghostcms/.pnpm-store/v3/files/02/00792a46a1abe417b94b0f8bead...

25 lines
623 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 './lib/index.js'
export type {ErrorCode, ErrorSeverity} from 'hast-util-from-html'
export type {Options} from './lib/index.js'
/**
* Plugin to add support for parsing from HTML.
*
* @this
* Unified processor.
* @param
* Configuration (optional).
* @returns
* Nothing.
*/
declare const rehypeParse: Plugin<[(Options | null | undefined)?], string, Root>
export default rehypeParse
// Add custom settings supported when `rehype-parse` is added.
declare module 'unified' {
interface Settings extends Options {}
}