import { TokenInterface, UserInterface } from '@rxstack/core'; export declare abstract class AbstractToken implements TokenInterface { protected user: UserInterface; protected roles: string[]; protected authenticated: boolean; protected fullyAuthenticated: boolean; getUser(): UserInterface; setUser(user: UserInterface): void; setAuthenticated(authenticated: boolean): void; isAuthenticated(): boolean; setFullyAuthenticated(fullyAuthenticated: boolean): void; isFullyAuthenticated(): boolean; getRoles(): string[]; hasRole(role: string): boolean; abstract getUsername(): string; abstract getCredentials(): string; abstract eraseCredentials(): void; }