import { ButtonProps } from './button';
type Props = {
    /**
     * The text to place into the copy buffer
     */
    textToCopy: string;
    /**
     * The text placed in the button before copy event
     */
    beforeCopy?: string;
    /**
     * The text placed in the button after copy event
     */
    afterCopy?: string;
    onCopy?: (copied: string) => void;
};
declare const CopyToClipboard: import("react").MemoExoticComponent<({ textToCopy, beforeCopy, afterCopy, onCopy, ...props }: Props & Omit<ButtonProps, "onCopy">) => import("react/jsx-runtime").JSX.Element>;
export default CopyToClipboard;
