import { Jwt } from '../auth/types'; import { AuthService } from '../auth'; import { RefreshableJwt } from '..'; import { ICredential, CredentialType } from './credential'; /** * This class is used for restoring the authorization */ export declare class JwtCredentials implements ICredential { private jwt; readonly type: CredentialType.Jwt; constructor(jwt: Jwt | RefreshableJwt); getToken(): Jwt | RefreshableJwt; authorize(authService: AuthService, organizer?: string): Promise; refreshToken(authService: AuthService, organizer?: string): Promise; private hasOrganizerInToken; } //# sourceMappingURL=jwt-credentials.d.ts.map