import React from 'react'; export declare enum CopyToClipboardStatus { Pending = "pending", Success = "success", Error = "error" } interface CopyToClipboardGeneralProps { children: (status: CopyToClipboardStatus) => React.ReactElement; text: string; onCopy?: (text: string, result: boolean) => void; } interface CopyToClipboardDefaultProps { timeout: number; } interface CopyToClipboardInnerProps extends CopyToClipboardGeneralProps, CopyToClipboardDefaultProps { } export interface CopyToClipboardProps extends CopyToClipboardGeneralProps, Partial { } interface CopyToClipboardState { status: CopyToClipboardStatus; } export declare class CopyToClipboard extends React.Component { static INITIAL_STATUS: CopyToClipboardStatus; state: CopyToClipboardState; private timerId?; componentWillUnmount(): void; render(): JSX.Element; private handleCopy; } export {};