import * as React from 'react'; import { SxProps, Theme } from '@mui/system'; import { type ChatCodeBlockClasses } from "./chatCodeBlockClasses.js"; export interface ChatCodeBlockProps { /** * The code string to display. */ children: string; /** * Language identifier shown in the header (e.g. "typescript", "python"). */ language?: string; /** * Optional syntax highlighter. Receives the code string and a language identifier, * and should return highlighted React nodes. When omitted, raw code is displayed. * @param {string} code - The code string to highlight. * @param {string} language - The language identifier for syntax highlighting. * @returns {React.ReactNode} The highlighted React nodes. */ highlighter?: (code: string, language: string) => React.ReactNode; className?: string; sx?: SxProps; classes?: Partial; } declare const ChatCodeBlock: React.ForwardRefExoticComponent>; export { ChatCodeBlock };