import type { GDSComponentProps } from '@graphprotocol/gds-css';
import { type ButtonProps } from './Button.tsx';
import type { CopyButtonMeta } from './CopyButton.meta.ts';
export interface CopyButtonProps extends Omit<ButtonProps.ButtonProps, 'onCopy' | 'variant'>, GDSComponentProps<typeof CopyButtonMeta> {
    /** The text to copy. */
    value: string;
    onCopy?: ((value: string) => void) | undefined;
}
export declare function CopyButton({ ref: passedRef, value, addonAfter, tooltip, onCopy, className, children, ...props }: CopyButtonProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CopyButton.d.ts.map