import { VariantProps } from 'class-variance-authority';
import * as React from 'react';
declare const copyButtonVariants: (props?: ({
    variant?: "default" | "ghost" | null | undefined;
    size?: "default" | "sm" | "icon" | "icon-sm" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export interface CopyButtonProps extends Omit<React.ComponentProps<'button'>, 'children'>, VariantProps<typeof copyButtonVariants> {
    /** The text to copy to clipboard */
    value: string;
    /** Label shown before copying */
    label?: string;
    /** Label shown after copying */
    copiedLabel?: string;
    /** Duration in ms to show the copied state */
    copiedDuration?: number;
    /** Callback fired after successful copy */
    onCopy?: () => void;
    /** When true, renders only the icon without text */
    iconOnly?: boolean;
}
declare function CopyButton({ className, variant, size, value, label, copiedLabel, copiedDuration, onCopy, iconOnly, ...props }: CopyButtonProps): import("react/jsx-runtime").JSX.Element;
export { CopyButton, copyButtonVariants };
//# sourceMappingURL=copy-button.d.ts.map