// 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] | [], string, Root> export default rehypeParse export type {Options, ErrorCode, ErrorSeverity}