import * as React from 'react';
import { OptionalComponentPropAndHTMLAttributes } from '../../types';
export declare type CodeBlockProps = {
    /**
     * Code to display.
     */
    children?: string;
    /**
     * Language of the code to display e.g. "javascript".
     */
    language?: string;
    /**
     * Name of the code block e.g. "index.js".
     */
    codeBlockName?: string;
} & OptionalComponentPropAndHTMLAttributes;
declare const _default: React.MemoExoticComponent<(props: CodeBlockProps) => JSX.Element>;
export default _default;
