export interface CodeBlockProps { code: string; language?: string; filename?: string; className?: string; } /** * Renders fenced code with syntax highlighting via prism-react-renderer. * * Language fallback: when `language` is absent or not supported by Prism, * renders plain text without tokenization (raw text inside
).
 *
 * Consumers: MarkdownContent wires this into react-markdown's `components.code`
 * slot so fenced ``` ``` blocks inside MarkdownContent render through CodeBlock.
 * Consumers can also use CodeBlock directly for non-markdown code rendering.
 */
declare function CodeBlock({ code, language, filename, className }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
export { CodeBlock };