/** * Reads the session token from sessionStorage. * The token is written there by the login page JS after a successful POST /login. * Falls back to a cookie-based approach via the server's login form * (sessionStorage is cleared on tab close; the server cookie persists the session). */ export declare function useAuth(basePath: string): { token: string; hasAuth: boolean; }; //# sourceMappingURL=useAuth.d.ts.map