import React from 'react'; import { SyntaxHighlighterProps } from 'react-syntax-highlighter'; import type { ContentNode } from '../../types'; import CopyButton from '../CopyButton'; type Props = { children: string; language?: 'javascript' | 'css' | 'html' | 'yaml'; className?: string; scrollable?: boolean; label?: ContentNode; allowCopy?: boolean; copyButtonProps?: React.ComponentProps; } & SyntaxHighlighterProps & React.HTMLAttributes; declare const Code: React.ComponentType>; export default Code;