export interface CopyButtonProps {
    /** Value written to the clipboard when the button is clicked. */
    value: string;
    /** Optional text rendered next to the icon in idle state. */
    label?: string;
    /** Optional text rendered next to the icon while the copied feedback is showing. */
    copiedLabel?: string;
    /** ARIA label used when no visible text label is rendered. */
    "aria-label"?: string;
    /** Disables the button (e.g. while the value is loading). */
    disabled?: boolean;
    /** Wrapper class applied to the underlying button. */
    className?: string;
    /** Class applied to the icon (size and color). Defaults to `"h-4 w-4"`. */
    iconClassName?: string;
    /** Fires after the value is written to the clipboard. */
    onCopy?: () => void;
    /** How long the copied state is shown, in ms. Defaults to 2000. */
    resetMs?: number;
}
/** Button that copies `value` to the clipboard and briefly swaps to a confirmation icon. */
export declare const CopyButton: {
    ({ value, label, copiedLabel, "aria-label": ariaLabel, disabled, className, iconClassName, onCopy, resetMs, }: CopyButtonProps): JSX.Element;
    displayName: string;
};
