import { type Root } from 'hast'; import { type Plugin } from 'unified'; export interface RehypeMdxCodePropsOptions { /** * The casing to use for attribute names. * * This should match the `elementAttributeNameCase` value passed to MDX. * * @default 'react' * @see https://mdxjs.com/packages/mdx/#processoroptions */ elementAttributeNameCase?: 'html' | 'react'; /** * The tag name to add the attributes to. * * @default 'pre' */ tagName?: 'code' | 'pre'; } /** * An MDX rehype plugin for transforming markdown code meta into JSX props. */ declare const rehypeMdxCodeProps: Plugin<[RehypeMdxCodePropsOptions?], Root>; export default rehypeMdxCodeProps; //# sourceMappingURL=rehype-mdx-code-props.d.ts.map