/** * Subcribe to notifications from the Telnyx client * * ## Examples * ```jsx * import { useNotification } from '@telnyx/react-client'; * * function Phone() { * const notification = useNotification(); * const activeCall = notification && notification.call; * * return ( *
* {activeCall && * activeCall.state === 'ringing' && * 'You have an incoming call.'} *
* ); * } * ``` */ declare function useNotification(): any; export default useNotification;