import React, { FC } from 'react'; import { TextProps } from '../../typography/Text'; interface OptionTitleProps extends Omit { children?: string; } /** * A single line of Text that will overflow with ellipsis. When overflown mousing over the text will display a tooltip with the text content. */ export declare const OptionTitle: FC; /** * Checks if a element's content is overflown. */ export declare function isElementOverflown(element: HTMLElement): boolean; export declare const useTooltip: (tooltip?: string) => React.Ref; export {};