import { ComponentProps, ComponentType, HTMLAttributes, ReactNode } from 'react';
import { Button } from '../ui/button';
declare const TypedSyntaxHighlighter: ComponentType;
type SyntaxHighlighterProps = ComponentProps;
export type CodeBlockProps = HTMLAttributes & {
code: string;
language: string;
showLineNumbers?: boolean;
children?: ReactNode;
customStyle?: SyntaxHighlighterProps["customStyle"];
};
export declare const CodeBlock: ({ code, language, showLineNumbers, className, customStyle, children, ...props }: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
export type CodeBlockCopyButtonProps = ComponentProps & {
onCopy?: () => void;
onError?: (error: Error) => void;
timeout?: number;
};
export declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=code-block.d.ts.map