import type { SyntaxHighlighterProps } from "react-syntax-highlighter"; export type ChatCodeDisplayProps = { /** * Class to apply to the root element. */ className?: string; /** * The syntax highlighting theme to use. */ theme?: SyntaxHighlighterProps["style"]; /** * The code language for syntax highlighting. * @example "json", "js" */ language?: SyntaxHighlighterProps["language"]; /** * Custom pre tag component to use for rendering the code block. */ PreTag?: SyntaxHighlighterProps["PreTag"]; /** * Whether to wrap long lines. */ wrapLongLines?: boolean; /** * The code to display. */ children: string; }; /** * The `ChatCodeDisplay` component displays code with syntax highlighting for use within chat context. */ export declare const ChatCodeDisplay: ({ className, language, theme, wrapLongLines, PreTag, children, }: ChatCodeDisplayProps) => import("react/jsx-runtime").JSX.Element;