import { ButtonHTMLAttributes } from 'react'; import * as React from "react"; interface ClearButtonProps extends ButtonHTMLAttributes { /** * Reference to an input element that will receive the pasted text */ inputRef: React.ForwardedRef; /** * Optional callback function that will be called after a successful paste */ onClear?: () => void; } declare const ClearButton: React.ForwardRefExoticComponent>; export { ClearButton }; export type { ClearButtonProps };