import { type ButtonHTMLAttributes, type ReactNode, type Ref } from 'react';
type ClickToCopyProps = Omit, 'children' | 'className'> & {
copyText: string;
label: ReactNode;
confirmation: ReactNode;
copyPrompt?: ReactNode;
className?: string;
buttonClassName?: string;
resetDelay?: number;
onCopied?: (copyText: string) => void;
onCopyError?: (error: unknown) => void;
ref?: Ref;
};
export declare const ClickToCopy: ({ copyText, label, confirmation, copyPrompt, className, buttonClassName, resetDelay, onCopied, onCopyError, onClick, disabled, type, ref, "aria-label": ariaLabel, ...buttonProps }: ClickToCopyProps) => import("react/jsx-runtime").JSX.Element;
export type { ClickToCopyProps };