fuc-new/doc/node_modules/rehype-sanitize/lib/index.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

12 lines
333 B
TypeScript

/**
* Sanitize HTML.
*
* @param {Schema | null | undefined} [options]
* Configuration (optional).
* @returns
* Transform.
*/
export default function rehypeSanitize(options?: Schema | null | undefined): (tree: Root) => Root;
export type Root = import('hast').Root;
export type Schema = import('hast-util-sanitize').Schema;