import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ReakitBoxProps } from '../types'; export declare type LocalHighlightedCodeProps = { children: React.ReactNode; className?: string; codeClassName?: string; isBlock?: boolean; lang: string; showLabel?: boolean; showLineNumbers?: boolean; theme?: Object; }; export declare type HighlightedCodeProps = LocalHighlightedCodeProps & ReakitBoxProps; export declare const highlightedCodePropTypes: { children: PropTypes.Validator; className: PropTypes.Requireable; codeClassName: PropTypes.Requireable; isBlock: PropTypes.Requireable; lang: PropTypes.Validator; showLabel: PropTypes.Requireable; showLineNumbers: PropTypes.Requireable; }; export declare const highlightedCodeDefaultProps: { className: any; codeClassName: any; isBlock: boolean; showLabel: boolean; showLineNumbers: boolean; theme: {}; }; export declare class HighlightedCode extends React.PureComponent { static propTypes: { children: PropTypes.Validator; className: PropTypes.Requireable; codeClassName: PropTypes.Requireable; isBlock: PropTypes.Requireable; lang: PropTypes.Validator; showLabel: PropTypes.Requireable; showLineNumbers: PropTypes.Requireable; }; static defaultProps: { className: any; codeClassName: any; isBlock: boolean; showLabel: boolean; showLineNumbers: boolean; theme: {}; }; componentDidMount: () => void; render: () => JSX.Element; } declare const C: React.FunctionComponent; export default C;