import { Button } from '@nvidia-elements/core/button'; import { Icon } from '@nvidia-elements/core/icon'; import { Toast } from '@nvidia-elements/core/toast'; import { Tooltip } from '@nvidia-elements/core/tooltip'; /** * @element nve-copy-button * @description A copy button is a button that easily enables the copy to clipboard pattern. * @documentation https://nvidia.github.io/elements/docs/elements/copy-button/ * @since 1.1.4 * @entrypoint \@nvidia-elements/core/copy-button * @slot - Text label displayed before the copy icon. * @slot icon - slot for custom icon * @cssprop --color * @cssprop --background * @cssprop --border-radius * @cssprop --padding * @cssprop --height * @cssprop --min-width * @cssprop --font-size * @cssprop --line-height * @csspart icon - The icon element * @csspart toast - The toast notification element * @csspart tooltip - The tooltip element * @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/ * */ export declare class CopyButton extends Button { #private; private copied; private showToast; private showTooltip; /** * Enables internal string values to update for internationalization. */ i18n: Partial; /** * Determines if the copy button should auto write to clipboard by the trigger. */ behaviorCopy: boolean; /** * Defines the value that copies to the user clipboard. Use `aria-label` to set the tooltip hint. */ value: string; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; }; static elementDefinitions: { [Icon.metadata.tag]: typeof Icon; [Toast.metadata.tag]: typeof Toast; [Tooltip.metadata.tag]: typeof Tooltip; }; render(): import("lit").TemplateResult<1>; connectedCallback(): void; disconnectedCallback(): void; }