import * as React_2 from 'react';

export declare type ChildProps = {
    onClick?: (event: React_2.MouseEvent<HTMLElement>) => void;
    [key: string]: unknown;
};

export declare const CopyToClipboard: React_2.FC<CopyToClipboardProps>;

export declare interface CopyToClipboardOptions {
    debug?: boolean;
    message?: string;
    format?: string;
}

export declare interface CopyToClipboardProps {
    text: string;
    onCopy?: (text: string, result: boolean) => void;
    options?: CopyToClipboardOptions;
    children: React_2.ReactElement<ChildProps>;
}

export { }
