import React from 'react'; import { type SyntaxHighlighterProps } from 'react-syntax-highlighter'; export type CodeBlockProps = { children: string; /** * CSS class names that can be appended to the component. */ className?: string; /** * Determines whether we render a copy button (on hover) */ copyStyle?: 'text' | 'icon'; /** * The programming language to use for syntax highlighting */ language: SyntaxHighlighterProps['language']; }; /** * BETA: This component is still a work in progress and is subject to change. * * `import {CodeBlock} from "@chanzuckerberg/eds";` * * Component used to render block of code for use alongside other components. Allows for copying code. */ export declare const CodeBlock: ({ children, className, copyStyle, language, ...other }: CodeBlockProps) => React.JSX.Element;