import { ActionIconProps, MantineColor } from '@mantine/core';
import { FunctionComponent, MouseEventHandler } from 'react';
export interface CopyToClipboardProps extends ActionIconProps {
    /**
     * The value to be copied to the clipboard.
     */
    value: string;
    /**
     * @deprecated Place the CopyToClipboard component inside the `rightSection` of input components instead.
     * Whether to display the string to be copied alongside the button.
     *
     * @default false
     */
    withLabel?: boolean;
    /**
     * Called each time the value is copied to the clipboard
     */
    onCopy?: MouseEventHandler<HTMLButtonElement>;
    /**
     * The color of the icon when idle
     *
     * @default 'gray'
     */
    color?: MantineColor | (string & {});
    /**
     * The text displayed when hovering over the button
     *
     * @default 'Copy to clipboard'
     */
    tooltipLabelCopy?: string;
    /**
     * The text displayed when the value is copied to the clipboard
     *
     * @default 'Copied'
     */
    tooltipLabelCopied?: string;
}
export declare const CopyToClipboard: FunctionComponent<CopyToClipboardProps>;
//# sourceMappingURL=CopyToClipboard.d.ts.map