import type { Plugin } from 'unified'; import type { Root } from 'mdast'; import type { CustomTagsConfig } from './type'; /** * Custom remark plugin to parse custom tags before standard markdown parsing * * The plugin works by: * 1. Finding '<' character in text * 2. Waiting for '>' closing character to get complete opening tag * 3. Extracting tag name from the complete tag string * 4. Checking if tag name matches any custom component * 5. If matched, processing the complete tag structure; otherwise, leaving as-is */ export declare function remarkCustomTags(config: CustomTagsConfig): Plugin<[], Root>;