/**
 * Props for `<CodeBlock/>`.
 *
 * @private Internal utility of `<ChatMessage />` component
 */
type CodeBlockProps = {
    code: string;
    language?: string;
    className?: string;
    onCreateAgent?: (bookContent: string) => void;
    theme?: 'LIGHT' | 'DARK';
};
/**
 * Component to render a code block with syntax highlighting, copy, download, and create agent options.
 *
 * @private Internal utility of `<ChatMessage />` component
 */
export declare function CodeBlock({ code, language, className, onCreateAgent, theme }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
export {};
