import { AuthAdapter, AuthOptions } from "../adapters/auth.adapter"; import { UserModel } from "../models/UserModel"; import { CacheController } from "./cache.controller"; export declare class AuthController { private readonly appName; private readonly cacheController; private readonly authAdapter; constructor(appName: string, cacheController: CacheController, authAdapter: AuthAdapter); authenticated(userId: string, options?: AuthOptions): Promise; currentUser(): Promise; getEmail(): Promise; getToken(): Promise; getUsername(): Promise; logIn(username: string, password: string, dtl?: number, options?: AuthOptions): Promise; logOut(options?: AuthOptions): Promise; requestPasswordReset(email: string, options?: AuthOptions): Promise; signUp(username: string, password: string, attrs?: { [key: string]: any; }, dtl?: number, options?: AuthOptions): Promise; updateUser(userId: string, attrs?: { [key: string]: any; }, options?: AuthOptions): Promise; setCurrentUser(user: { [key: string]: any; } | null, dtl?: number): Promise; requestEmailVerification(email: string, options?: AuthOptions): Promise; }