import type { Options as RehypeOption } from 'remark-rehype'; import { Theme, Highlighter } from '../shiki/types'; export interface RemarkPlugin { instance?: any; options?: Array | Record; } export interface RehypePlugin { instance?: any; options?: Array | Record; } export interface MDCParseOptions { remark?: { plugins?: Record; }; rehype?: { options?: RehypeOption; plugins?: Record; }; highlight?: { theme?: Theme; highlighter?: Highlighter; } | false; toc?: { /** * Maximum heading depth to include in the table of contents. */ depth?: number; searchDepth?: number; }; }