import React from 'react'; import { Props, Variables } from '../../../common'; interface ITelephoneTextProps { /** phone number to display */ phoneNumber: string; /** country code to display */ countryCode?: string; /** Specify the type of text and flag to use */ type: Props.TypographyType; /** Specify the color of phone number to use */ color?: Variables.Color; /** If true, displays the flag */ showFlag?: boolean; /** If true, turns the phone number into a telephone link */ isLink?: boolean; /** The data-cy */ componentContext?: string; } declare class TelephoneText extends React.PureComponent> { static defaultProps: { type: Props.TypographyType; showFlag: boolean; isLink: boolean; }; get flag(): JSX.Element | undefined; get prefix(): JSX.Element | undefined; get phoneNumber(): JSX.Element; render(): JSX.Element; } export { TelephoneText, ITelephoneTextProps };