import * as React from 'react';
import { HTMLAttributes, ReactNode } from 'react';
import * as react_jsx_runtime from 'react/jsx-runtime';
interface CodeBlockProps extends HTMLAttributes {
code: string;
language?: string;
/**
* Header text. Defaults to `language`. Set this when the display name differs
* from the highlight.js language id — e.g. a file extension ("BASHRC") whose
* content highlights as a known language, or none.
*/
label?: string;
showLineNumbers?: boolean;
/** Force light theme; defaults to dark */
light?: boolean;
children?: ReactNode;
}
declare const CodeBlock: React.MemoExoticComponent<({ code, language, label, showLineNumbers, light: lightProp, className, children, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element>;
/** Copy-to-clipboard button for use inside CodeBlock. */
declare const CopyButton: React.MemoExoticComponent<({ text }: {
text: string;
}) => react_jsx_runtime.JSX.Element>;
export { CodeBlock as C, type CodeBlockProps as a, CopyButton as b };