import * as react from 'react'; import { ReactNode } from 'react'; interface CodeBlockProps { /** The title displayed in the header of the code block. */ title: string; /** An icon or other React node to display next to the title. */ titleIcons: ReactNode; /** The code or content to display within the block. */ children: ReactNode; /** The raw text content that will be copied to the clipboard. */ textToCopy: string; } /** * A UI component that wraps content, typically code snippets, in a styled block * with a header containing a title, an icon, and a copy button. */ declare function CodeBlock({ title, titleIcons, children, textToCopy }: CodeBlockProps): react.JSX.Element; export { CodeBlock };