import TamboAI from "@tambo-ai/typescript-sdk"; import { QueryClient } from "@tanstack/react-query"; /** * This internal hook is used to get the Tambo session token and keep it * refreshed. * * It will refresh the token when it expires. * It will also set the bearer token on the client. * * This hook is used by the TamboClientProvider. * @param client - The Tambo client. * @param queryClient - The query client. * @param userToken - The third-party OAuth token to exchange for a Tambo session. * @returns React Query result for the session token (token data, fetching state, errors). */ export declare function useTamboSessionToken(client: TamboAI, queryClient: QueryClient, userToken: string | undefined): import("@tanstack/react-query").UseQueryResult; //# sourceMappingURL=use-tambo-session-token.d.ts.map