import { ReactNode } from 'react'; import { TypographyProps } from '@toptal/picasso'; import { BaseProps } from '@toptal/picasso-shared'; import { DelayType, VariantType } from '@toptal/picasso/Tooltip/Tooltip'; export interface Props extends BaseProps, TypographyProps { /** A typography which can possibly overflow */ children?: ReactNode; /** Number of lines displayed */ lines?: number; /** A content to show in tooltip when typography overflows. By default, TypographyOverflow's children are used. */ tooltipContent?: ReactNode; /** A delay in showing the tooltip when typography overflows. */ tooltipDelay?: DelayType; /** Tooltip color variant to use. */ tooltipVariant?: VariantType; /** Do not show tooltips for shorten content. */ disableTooltip?: boolean; } export declare const TypographyOverflow: { (props: Props): JSX.Element; displayName: string; defaultProps: { noWrap: boolean; }; }; export default TypographyOverflow;