import type { RefObject } from 'react'; import type { UserManager, User } from 'oidc-client-ts'; /** * Provides authentication action callbacks. * * @param userManagerRef - Ref to the current `UserManager` instance, or `null` before it is ready * @param applyUser - Applies a resolved `User` (or `null`) to the shared auth state * @param applyError - Records an auth error on the shared auth state * @returns The `login`, `loginWithPopup`, `logout`, `clearSession`, and `getAccessToken` action callbacks * @internal For internal use by AuthProvider only. */ export declare const useAuthCallbacks: (userManagerRef: RefObject, applyUser: (user: User | null) => void, applyError: (err: unknown) => void) => { login: () => Promise; loginWithPopup: () => Promise; logout: () => Promise; clearSession: () => Promise; getAccessToken: () => Promise; }; //# sourceMappingURL=useAuthCallbacks.d.ts.map