import type { User } from "./User"; export declare type AuthUser = { type: "user"; user: User; token: string; }; export declare type PasswordStrengthEnum = "WEAK" | "MEDIUM" | "STRONG"; export declare type AuthToken = { type: "token"; bid: number; token: string; }; export declare type Auth = AuthUser | AuthToken; export declare const getEmail: (a: Auth) => string; export declare const authDefault: Auth | null;