import type { Plugin } from 'unified'; import type { Parent } from 'unist'; /** * Options for the rehype-wrapper plugin */ interface RehypeWrapperOptions { /** CSS class name for the wrapper div */ className?: string; /** Tag name for the wrapper element (e.g., 'div', 'section', 'article') */ tagName?: string; /** Additional attributes to add to the wrapper div */ attributes?: Record; } /** * A rehype plugin that wraps the entire markdown HTML in a new div * * @param options - Configuration options * @returns The rehype transformer */ declare const rehypeWrapper: Plugin<[RehypeWrapperOptions?], Parent>; export default rehypeWrapper;