import type { ActionButtonProps, BaseButtonProps } from '../button/types.js'; import type { AriaLabelingProps, CommonProps, StringLikeChildren } from '../types.js'; export interface CopyButtonProps extends CommonProps, AriaLabelingProps, Pick, Pick { /** The text displayed on the button. */ children?: StringLikeChildren; /** * Determines the visual appearance of the button. * @default 'secondary' */ variant?: 'secondary' | 'tertiary'; /** The content to be copied. */ value: string; /** The description that appears in a tooltip when the user hovers or focuses the button. */ description?: string; /** A handler that gets called when the user triggers the copying. */ onCopy?: () => void; } /** * Displays a button that allows users to copy a specific value to clipboard. * * See [copy button usage guidelines](https://ui.cimpress.io/components/copy-button/). */ declare const _CopyButton: (props: CopyButtonProps & import("react").RefAttributes & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null; export { _CopyButton as CopyButton }; //# sourceMappingURL=copy-button.d.ts.map