Type Definition
Below is the type definition for theUseAmbientSessionReturn type. This is the type definition for what the useAmbientSession hook returns. It includes methods to control the session and state information about the current session.