import React from 'react'; /** * Properties for {@link CopyTextButton} * * @public */ export interface CopyTextButtonProps { /** * The text to be copied */ text: string; /** * Number of milliseconds that the tooltip is shown * * @remarks * * Default: 1000 */ tooltipDelay?: number; /** * Text to show in the tooltip when user has clicked the button * * @remarks * * Default: "Text copied to clipboard" */ tooltipText?: string; /** * Text to use as aria-label prop on the button * * @remarks * * Default: "Copy text" */ 'aria-label'?: string; } /** * Copy text button with visual feedback * * @public * @remarks * * Visual feedback takes form of: * - a hover color * - click ripple * - Tooltip shown when user has clicked * * @example * * ``` * * ``` */ export declare function CopyTextButton(props: CopyTextButtonProps): React.JSX.Element;