import { AppUser } from '../model/spa-model.js'; /** * Get the current user from the store * @returns The current AppUser or undefined if not logged in */ export declare function getCurrentUser(): Promise; /** * Check if a user is currently logged in * @returns true if a user is logged in */ export declare function isLoggedIn(): Promise; /** * Check if the current user has a specific role/claim * @param role - The role to check (e.g., "admin", "editor") * @returns true if the user has the role */ export declare function hasRole(role: string): Promise; /** * Check if the current user has at least one of the specified roles (OR logic) * @param roles - Array of roles to check * @returns true if the user has at least one of the roles */ export declare function hasAnyRole(roles: string[]): Promise; /** * Check if the current user has all of the specified roles (AND logic) * @param roles - Array of roles to check * @returns true if the user has all of the roles */ export declare function hasAllRoles(roles: string[]): Promise; /** * Get the user's email * @returns The user's email or null if not logged in */ export declare function getUserEmail(): Promise; /** * Get the user's UID * @returns The user's UID or null if not logged in */ export declare function getUserId(): Promise; /** * Get all claims for the current user * @returns Record of claims or empty object */ export declare function getUserClaims(): Promise>; //# sourceMappingURL=auth-utils.d.ts.map