import { Processor, Transformer } from 'unified'; import { Code, Root } from 'mdast'; import { MdxJsxFlowElement } from 'mdast-util-mdx-jsx'; type TabType = keyof typeof Types; interface RemarkCodeTabOptions { Tabs?: TabType; /** * Parse MDX in tab values * * @defaultValue false */ parseMdx?: boolean; } declare module 'mdast' { interface CodeData { tab?: string; } } declare const Types: { CodeBlockTabs: { convert(processor: Processor, nodes: Code[], withMdx?: boolean, withParent?: boolean): MdxJsxFlowElement; }; Tabs: { convert(processor: Processor, nodes: Code[], withMdx?: boolean, withParent?: boolean): MdxJsxFlowElement; }; }; declare function remarkCodeTab(this: Processor, options?: RemarkCodeTabOptions): Transformer; export { type RemarkCodeTabOptions, remarkCodeTab };