import { ReactNode } from 'react' ; import { PhoneType } from '@ringcentral-integration/commons/enums/phoneTypes' ; import { ContactModel } from '@ringcentral-integration/commons/interfaces/Contact.model' ; export interface onClickMailTo { onClickMailTo ? ( email , contactType ) : any ; } export interface formatNumber { formatNumber ( phoneNumber ) : string ; } export interface clickToDial { canCallButtonShow ( phoneType ) : boolean ; onClickToDial ( contact , phoneNumber ) : any ; } export interface clickToSMS { canTextButtonShow ( phoneType ) : boolean ; onClickToSMS ( contact , phoneNumber ) : any ; } export interface sourceNodeRenderer { sourceNodeRenderer ? ( { sourceType : string } ) : ReactNode ; }