declare module '@ioc:AuthService' { export interface AuthServiceI { isEnable: boolean; createToken(sub: string): string; verifyToken(token: string, sub?: string): object | null; getApps(): Promise; login(email: string, password: string): Promise; signup(params: any): Promise; getUser(uuid: string): Promise; updateUser(uuid: string, params: any): Promise; forgotPassword(email: string): Promise; resendEmailVerification(email: string): Promise; verifyPin(uuid: string, user_pin: string): Promise; forgotPin(uuid: string, password: string, user_pin: string): Promise; logoutURL(): string; checkLoginURL(): string; forgotPasswordMobile(params: any): Promise; createRegisterWebAuthnChallenge(uuid: string, origin: string): Promise; registerWebAuthnCredential(uuid: string, params: any): Promise; createLoginWebAuthnChallenge(origin: string): Promise; loginWithWebAuthnCredential(params: any): Promise; deleteWebAuthnCredential(uuid: string, id: string): Promise; listWebAuthnCredentials(uuid: string): Promise; updateWebAuthnCredential(uuid: string, id: string, params: any): Promise; getReferralSettings(): Promise; getReferralProfile(uuid: string): Promise; quoteReferral(params: any): Promise; reserveReferral(params: any): Promise; completeReferral(params: any): Promise; releaseReferral(params: any): Promise; } const authService: AuthServiceI; export default authService; export interface AuthServiceConfig { enable: boolean; host: string; iss: string; client: string; secret: string; env?: string; type?: string; expiry?: string; timeout?: number; paths?: { [x: string]: string; }; } }