import { AuthUser, AuthConfig, LoginCredentials, RegisterCredentials, RefreshTokenResponse, ApiKeyResponse, TenantData, TwoFactorSetup } from './types'; export declare class EnhancedCentralizedAuthService { private config; private currentUser; private refreshToken; private currentTenant; constructor(config: AuthConfig); private loadStoredAuth; private storeAuth; private clearAuth; login(credentials: LoginCredentials): Promise; register(credentials: RegisterCredentials): Promise; logout(everywhere?: boolean): Promise; refreshAccessToken(): Promise; hasRole(userId: string, role: string): Promise; hasPermission(userId: string, permission: string): Promise; checkAccess(userId: string, resource: string, action: string): Promise; setTenant(tenantId: string): Promise; createTenant(tenantData: Omit): Promise; getUserTenants(userId: string): Promise; loginWithGoogle(code: string): Promise; loginWithGithub(code: string): Promise; loginWithDiscord(code: string): Promise; private oauthLogin; createApiKey(userId: string, name: string, permissions: string[]): Promise; validateApiKey(apiKey: string): Promise; revokeApiKey(apiKeyId: string): Promise; enableTwoFactor(): Promise; disableTwoFactor(code: string): Promise; verifyTwoFactor(code: string): Promise; resetPassword(email: string): Promise; getSessions(): Promise; revokeSession(sessionId: string): Promise; sendEmailVerification(): Promise; verifyEmail(token: string): Promise; getCurrentUser(): AuthUser | null; getCurrentTenant(): string | null; isAuthenticated(): boolean; getAuthToken(): string | null; hasLocalRole(role: string): boolean; hasLocalPermission(permission: string): boolean; } export declare const enhancedAuth: EnhancedCentralizedAuthService; //# sourceMappingURL=centralized-auth-enhanced.d.ts.map