import type { AuthenticatedRequestInterface, AuthServiceInterface, EntityUserInterface, UserInterface } from '../interfaces'; export declare class AuthService implements AuthServiceInterface { private readonly request; constructor(request: AuthenticatedRequestInterface); getToken(): string; setToken(token: string): void; getExternalToken(): string; setExternalToken(externalToken: string): void; getUser(): UserInterface; setUser(user: UserInterface): void; getExternalUser(): UserInterface; setExternalUser(externalUser: UserInterface): void; getEntityUser(): EntityUserInterface; setEntityHeader(): void; hasRoles(roles: string[]): boolean; hasRole(role: string): boolean; hasPermissions(permissions: string[]): boolean; hasPermission(permission: string): boolean; isAdmin(): boolean; isUser(): boolean; isService(): boolean; isCrm(): boolean; isBroker(): boolean; isAgentLicensed(): boolean; isAgentUnlicensed(): boolean; getTokenProvider(): string; setTokenProvider(tokenProvider: string): void; } //# sourceMappingURL=auth.service.d.ts.map