import { RequestUserEntity } from './user.entity'; import { RequestClientEntity } from './client.entity'; import express from 'express'; import { LoggerInterface } from '../logger'; import { RabbitMQClient } from '../index'; import { AuthorizationClientResponse, AuthorizationUserResponse, ValidateUserAccessResponseDTO } from "./authentication.entity"; export declare const INTERNAL_REQUEST_SOURCE = "internal"; export declare class ContextEntity { requestSource?: string; clientId?: string; requestClientId?: string; contextClientId?: string; requestClient?: RequestClientEntity | AuthorizationClientResponse; contextClient?: RequestClientEntity | AuthorizationClientResponse; requestId?: string; authenticationType?: string; permissions?: string[]; os?: string; platform?: string; version?: string; request: express.Request | undefined | any; data?: any; requestUser?: RequestUserEntity | AuthorizationUserResponse; contextUser?: RequestUserEntity | AuthorizationUserResponse; contextUserId?: string; requestUserId?: string; userId?: string; ip?: string; logger: LoggerInterface; currencyCode?: string; countryCode?: string; locale?: string; origin?: string; broker?: RabbitMQClient; constructor(); static fromRequest(req: express.Request): ContextEntity; static fromAuthorizationResult(req: express.Request, result: ValidateUserAccessResponseDTO): ContextEntity; clone(): this; }