type CodeBlockProps = {
    code: string;
    language?: string;
    className?: string;
    onCreateAgent?: (bookContent: string) => void;
};
/**
 * 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 }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
export {};
