interface Props { text: string | null; showTitle?: boolean; } /** * A component that performs middle truncation on a given string, based on the evaluated width * of a container div. * * The component will render the provided string -- with no height/visibility -- into our target * container to determine the maximum available width. This width value and the computed font * style are then used to determine the longest middle-truncated string that can fit within the width. * * When the DOM element resizes, the measurement and calculation steps will occur again. */ export declare const MiddleTruncate: import("react").MemoExoticComponent<({ text, showTitle }: Props) => import("react/jsx-runtime").JSX.Element>; export {};