import { ButtonHTMLAttributes } from 'react'; import * as React from "react"; interface PasteButtonProps extends Omit, "onPaste"> { /** * Reference to an input element that will receive the pasted text */ inputRef: React.ForwardedRef; /** * Text to display on the paste button * @default "Paste" */ label?: string; /** * Optional callback function that will be called after a successful paste */ onPaste?: (value: string) => void; } declare const PasteButton: React.ForwardRefExoticComponent>; export { PasteButton }; export type { PasteButtonProps };