import type { ButtonHTMLAttributes, ReactNode } from "react"; export interface CopyButtonProps extends Omit, "type" | "onClick" | "children"> { /** String to copy when clicked. */ value: string; /** Optional button label. Default: just the icon. */ label?: ReactNode; /** Visual style. */ variant?: "ghost" | "outline"; /** Size. */ size?: "sm" | "md"; /** Callback after successful copy (e.g. analytics). */ onCopied?: (value: string) => void; /** Duration of the feedback state in ms. Default 1500. */ feedbackDuration?: number; } declare const CopyButton: import("react").ForwardRefExoticComponent>; export { CopyButton };