import type { Plugin } from 'unified'; import type { Root } from 'hast'; export type RehypeAttrsOptions = { /** * ## `data` * * ```markdown * text * * ``` * 👇👇👇👇👇 * ```html *
text
* ``` * * ## `string` * * ```markdown * text * * ``` * * 👇👇👇👇👇 * * ```html *text
* ``` * * ## attr * * ```markdown * text * * ``` * 👇👇👇👇👇 * ```html *text
* ``` * @default `data` */ properties?: 'data' | 'string' | 'attr'; /** * Code block passing parameters */ codeBlockParames?: boolean; /** * Optional start delimiter for comments @example `\\{\\*` * @default `` */ commentEnd?: string; }; declare const rehypeAttrs: Plugin<[RehypeAttrsOptions?], Root>; export default rehypeAttrs;