7 lines
366 B
TypeScript
7 lines
366 B
TypeScript
// This wrapper exists because JS in TS can’t export a `@type` of a function.
|
||
import type {Options, ErrorCode, ErrorSeverity} from './lib/index.js'
|
||
import type {Root} from 'hast'
|
||
import type {Plugin} from 'unified'
|
||
declare const rehypeParse: Plugin<[Options?] | Array<void>, string, Root>
|
||
export default rehypeParse
|
||
export type {Options, ErrorCode, ErrorSeverity}
|