export declare const rehypeCodeMetaTemplate = "interface MetaNode {\n type: string;\n tagName?: string;\n data?: { meta?: string };\n properties?: Record;\n children?: MetaNode[];\n}\n\nexport function rehypeCodeMeta() {\n return (tree: MetaNode) => {\n const visit = (node: MetaNode) => {\n if (node.type === \"element\" && node.tagName === \"code\") {\n const meta = node.data?.meta;\n if (typeof meta === \"string\" && meta.length > 0) {\n node.properties = { ...node.properties, meta };\n }\n }\n node.children?.forEach(visit);\n };\n visit(tree);\n };\n}\n";