import React from "react"; /** Copies `value` to the clipboard and briefly confirms with `copiedLabel`. */ export interface CopyButtonProps { /** Text to write to the clipboard. */ value: string; /** "icon" floating icon button, "button" icon + text, "menu-item" full-width row. */ variant?: "icon" | "button" | "menu-item"; /** Visible label for "button" / "menu-item" variants. */ label?: string; /** Label shown briefly after a successful copy. */ copiedLabel?: string; /** Tooltip text (icon variant). */ tooltip?: string; /** ms to keep the "copied" state. */ feedbackDuration?: number; /** Icon px size. */ iconSize?: number; /** Only affects the default "icon" variant's IconButton — "button" and "menu-item" ignore it. */ size?: "xs" | "sm" | "md"; /** Fires only if the clipboard write resolves. */ onCopy?: (value: string) => void; /** Fires when the clipboard is missing or denied, instead of failing silently. */ onCopyError?: (value: string) => void; } /** Copies `value` to the clipboard in 3 layouts (icon/button/menu-item) — not a full share/export action. */ declare const CopyButton: React.FC; export default CopyButton;