import { Component } from 'react';
import Notify from '../notify';
import { II18nLocaleCopyButton } from '../i18n';
export interface ICopyButtonProps {
    text: (() => string) | string;
    onClick?: React.MouseEventHandler;
    onCopySuccess?: string | (() => void);
    onCopyError?: string | (() => void);
}
export declare class CopyButton extends Component<ICopyButtonProps> {
    static defaultProps: {
        onCopySuccess: string;
        onCopyError: string;
    };
    onCopyCallback: (type: keyof typeof Notify, callback: string | (() => void)) => void;
    onCopy: (i18n: II18nLocaleCopyButton) => (text: string, result: boolean) => void;
    render(): JSX.Element;
}
export default CopyButton;
