import type { Plugin } from 'unified'; import type { Root } from 'hast'; export type RehypeVideoOptions = { /** * URL suffix verification. * @default /\/(.*)(.mp4|.mov)$/ */ test?: RegExp | ((url: string) => boolean); /** * Support `
` tag to wrap