import { OnApplicationBootstrap } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { JwtService } from '@nestjs/jwt'; import { StatusResponse } from '../resource'; import { AuthUser } from './interfaces'; import { AuthModuleOptions } from './auth.module'; import { JwtToken } from './strategy/jwt/jwt.dto'; import { CacheService } from '../cache'; export declare const AUTH_CACHE_PREFIX = "auth"; export declare class AuthService implements OnApplicationBootstrap { private authModuleOptions; private cacheService; private configService; private jwtService; private readonly logger; private readonly userDetailsService; constructor(authModuleOptions: AuthModuleOptions, cacheService: CacheService, configService: ConfigService, jwtService: JwtService); updateAuthRoutes(prototype: any): void; onApplicationBootstrap(): Promise; findUser(username: string): Promise; findUserById(id: string | number): Promise; validateUser(username: string, password: string): Promise; login(user: AuthUser): Promise; logout(user: AuthUser): Promise; private findAndCacheUser; private createAdminUser; }