import { JSX } from 'react';
import { Locale } from '../type';
export interface CopyButtonProps extends React.HTMLAttributes<HTMLSpanElement> {
    content?: string;
    locale?: Locale;
    render?: (props: {
        copyButton: React.ReactNode;
        containerRef: React.Ref<unknown>;
    }) => JSX.Element | null;
    showTooltip?: true | false;
}
export default function CopyButton({ content, locale, render, showTooltip, ...rest }: CopyButtonProps): import("react/jsx-runtime").JSX.Element | null;
