/** * Returns the current authentication token from the TokenContext. * * **When to use:** * - Use `useToken` when you need the raw JWT bearer token for authenticated API calls * outside the GraphQL layer (e.g. REST endpoints, file uploads, WebSockets). * - Use `useCurrentUser` instead when you need the user's identity or account info. * - Do **not** use for GraphQL requests — the Apollo client already attaches the token. * * @example * import { useToken } from "@trackunit/react-core-hooks"; * const { token } = useToken(); * @see {TokenContext} */ export declare const useToken: () => import("@trackunit/iris-app-runtime-core-api").TokenContext;