import { ComponentProps } from 'react';
import { VariantProps } from 'class-variance-authority';

declare const codeBlockStyles: (props?: ({
    variant?: "code" | "input" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export type CodeBlockProps = ComponentProps<"div"> & VariantProps<typeof codeBlockStyles> & {
    children: string;
    hide?: boolean;
};
/**
 * Code block that allows the user to easily copy code/keys to the clipboard
 */
export declare function CodeBlock({ className, variant, children, hide, ...props }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
export {};
