import { type HighlightLanguage } from './HighlightExtended.js'; /** * @internal */ export interface CodeHighlightProps { /** * Whether line numbers should be shown. * @defaultValue true */ showLineNumbers?: boolean; language?: HighlightLanguage; code: string; /** * Whether the content breaks into new lines automatically or not. * @defaultValue false */ lineBreaks?: boolean; /** @defaultValue false */ buttonPadding?: boolean; maxHeight?: number; /** @defaultValue 'default' */ size?: 'default' | 'condensed'; } /** * Highlights code with prism tokenisation * @internal */ export declare const CodeHighlight: (props: CodeHighlightProps & import("react").RefAttributes) => React.ReactElement | null;