import * as React from 'react';
interface Props {
    /** The text to present and to copy. */
    text: string;
    /** An optional class name. */
    className?: string;
    /** The size of the input element. */
    size?: number;
}
interface State {
    /** Whether the text was just copied. */
    copied: boolean;
}
/**
 * A component that displays a single line of text and a copy-to-clipboard button. There are other
 * niceties, such as triple-clicking selects only the text and not other adjacent components' text
 * labels.
 */
export declare class CopyableText extends React.PureComponent<Props, State> {
    state: State;
    render(): JSX.Element | null;
    private onClickInput;
    private onClickButton;
    private copyToClipboard;
}
export {};
//# sourceMappingURL=CopyableText.d.ts.map