import * as react from 'react';
import { HTMLAttributes, ReactNode } from 'react';

interface CodeBlockProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'onCopy'> {
    code: string;
    language?: string;
    title?: ReactNode;
    isCopyable?: boolean;
    onCopy?: (code: string) => void;
    disableHighlight?: boolean;
}
declare const CodeBlock: react.ForwardRefExoticComponent<CodeBlockProps & react.RefAttributes<HTMLDivElement>>;

export { CodeBlock, type CodeBlockProps };
