import { ReactNode } from 'react';
interface StringChildrenProps {
    children: string;
    value?: string;
}
interface ReactNodeChildrenProps {
    children: ReactNode;
    value: string;
}
type CopyTextProps = (StringChildrenProps | ReactNodeChildrenProps) & {
    className?: string;
};
/**
 * Displays copiable text.
 * Useful for displaying truncated ids in a compact manner,
 * ensuring more screen estate.
 */
export declare const CopyText: ({ children, className, value }: CopyTextProps) => import("react").JSX.Element;
export {};
