import { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx-jsx'; import { BlockContent, Text } from 'mdast'; interface CodeBlockTabsOptions { attributes?: MdxJsxAttribute[]; defaultValue?: string; persist?: { id: string; } | false; triggers: { value: string; children: (BlockContent | Text)[]; }[]; tabs: { value: string; children: BlockContent[]; }[]; } declare function generateCodeBlockTabs({ persist, defaultValue, triggers, tabs, ...options }: CodeBlockTabsOptions): MdxJsxFlowElement; interface CodeBlockAttributes { attributes: Partial>; rest: string; } /** * Parse Fumadocs-style code block attributes from meta string, like `title="hello world"` */ declare function parseCodeBlockAttributes(meta: string, allowedNames?: Name[]): CodeBlockAttributes; export { type CodeBlockAttributes, type CodeBlockTabsOptions, generateCodeBlockTabs, parseCodeBlockAttributes };