import * as react_jsx_runtime from 'react/jsx-runtime';
import { SyntaxHighlighterProps } from 'react-syntax-highlighter';

interface CodeBlockProps extends Omit<SyntaxHighlighterProps, 'children'> {
    language: string;
    codeString: string;
    highlightLines?: [number, number];
    removeLineBreaksFromCopy?: boolean;
    showLineNumbers?: boolean;
    showCopyButton?: boolean;
    /**
     * @deprecated this setting is no longer relevant, the scroll will appear if required
     */
    showScroll?: boolean;
    theme?: 'dark' | 'light';
}
declare function CodeBlock({ codeString, language, removeLineBreaksFromCopy, showLineNumbers, showCopyButton, highlightLines, theme, ...otherProps }: CodeBlockProps): react_jsx_runtime.JSX.Element;

export { CodeBlockProps, CodeBlock as default };
