import { ButtonProps } from '@heroui/react'; export interface CopyActionButtonProps extends Omit { copiedLabel?: string; copiedVariant?: ButtonProps["variant"]; copyDurationMs?: number; getValue?: () => string | null | undefined; label?: string; onCopied?: (value: string) => void; onCopyError?: (error: unknown, value?: string) => void; onEmpty?: () => void; tooltipDelay?: number; value?: string | null; } /** * Render a copy action button with the given props. * * @param props - The props for the copy action button * @param copiedLabel - The label to display when the value is copied * @param copiedVariant - The variant to use when the value is copied * @param copyDurationMs - The duration to display the copied label * @param getValue - The function to get the value to copy * @param isDisabled - Whether the button is disabled * @param label - The label to display when the value is not copied * @param onCopied - The function to call when the value is copied * @param onCopyError - The function to call when the value is not copied * @param onEmpty - The function to call when the value is empty * @param tooltipDelay - The delay to display the tooltip * @param value - The value to copy * @param variant - The variant to use when the value is not copied * @param buttonProps - Additional props for the button * @returns The copy action button React element */ export declare function CopyActionButton({ copiedLabel, copiedVariant, copyDurationMs, getValue, isDisabled, label, onCopied, onCopyError, onEmpty, tooltipDelay, value, variant, ...buttonProps }: CopyActionButtonProps): import("react").JSX.Element;