import { BindingKey } from '@loopback/context'; import { IAuthUser } from 'loopback4-authentication'; export declare namespace BearerVerifierBindings { const Config: BindingKey; } export declare enum BearerVerifierType { service = 0, facade = 1 } export interface BearerVerifierConfig { type: BearerVerifierType; useSymmetricEncryption?: boolean; } export interface IUserPrefs { locale?: string; } export interface IAuthUserWithPermissions extends IAuthUser { id?: string; identifier?: ID; permissions: string[]; authClientId: number; userPreferences?: IUserPrefs; email?: string; role: string; firstName: string; lastName: string; middleName?: string; tenantId?: TID; userTenantId?: UTID; passwordExpiryTime?: Date; allowedResources?: string[]; getIdentifier?(): string | undefined; }