Skip to main content

Type definition

Below is the type definition for the UseAmbientSessionReturn 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.
For interoperability workflows, refer to Ambient interoperability and Handle ambient session conflicts.
Last modified on September 2, 2026