import { type ActionButtonProps } from './spectrum'; export interface CopyButtonProps extends Omit { /** The value to copy when clicked, accepts string or function returning a string. */ copy: string | (() => string); /** Optional tooltip label ex. 'Copy column name'. Defaults to 'Copy'. */ tooltip?: string; } /** * Button that has a copy icon, and copies text to a clipboard when clicked. */ declare function CopyButton({ copy, tooltip, children, ...rest }: CopyButtonProps): JSX.Element; declare namespace CopyButton { var displayName: string; } export default CopyButton; //# sourceMappingURL=CopyButton.d.ts.map