export type AuthStatus = "idle" | "loading" | "authenticated" | "unauthenticated"; export interface BearerAuthUser { id?: string | number; uuid?: string; email?: string; name?: string; [key: string]: unknown; } export interface BearerAuthSession { userId: string; token: string; refreshToken?: string | null; profile: User | null; createdAt: string; expiresAt: number; lastActivity: string; userAgent?: string; ipAddress?: string; abilities?: string[] | null; } export interface AuthorizationState { abilities: string[]; source?: "session" | "endpoint"; } export interface PublicSession { id: string; createdAt: string; lastActivity: string; userAgent?: string; ipAddress?: string; } export interface AuthApiResponse { success: boolean; message?: string; data?: T; user?: BearerAuthUser | null; abilities?: string[] | null; code?: string | number; nextAction?: string; } export interface LoginCredentials { identifier?: string; email?: string; username?: string; phone?: string; mobile?: string; password?: string; [key: string]: unknown; } export interface SocialLoginCredentials { jwt?: string; token?: string; provider?: string; [key: string]: unknown; } export interface FetchUserOptions { refresh?: boolean; } //# sourceMappingURL=auth.d.ts.map