import { default as React } from 'react'; export interface UseCopyToClipboardReturn { /** Copy text to clipboard */ copy: (text: string) => Promise; /** True for brief period after successful copy */ copied: boolean; /** Error if copy failed */ error: string | null; } /** * Hook for clipboard operations. * * @param resetDelay - Time in ms before `copied` resets to false (default 2000) * * @example * ```tsx * const { copy, copied } = useCopyToClipboard(); * ``` */ export declare function useCopyToClipboard(resetDelay?: number): UseCopyToClipboardReturn; export interface CopyButtonProps { /** Text to copy */ value: string; /** Button label (default: shows icon only) */ label?: string; /** Label shown briefly after copy (default: "Copied!") */ copiedLabel?: string; /** Size */ size?: "small" | "medium" | "large"; /** Tooltip text */ tooltip?: string; /** Disabled */ disabled?: boolean; /** Custom style */ style?: React.CSSProperties; } export declare const CopyButton: React.NamedExoticComponent; export default CopyButton;