declare namespace Express { interface Request { user?: import('./core/auth/current-user').CurrentUser; session?: import('./core/auth/current-user').UserSession; } } declare type PrimitiveType = | string | number | boolean | symbol | null | undefined; declare type UnionToIntersection = ( T extends any ? (x: T) => any : never ) extends (x: infer R) => any ? R : never; declare type ConstructorOf = { new (): T; }; declare type DeepPartial = T extends Array ? DeepPartial[] : T extends ReadonlyArray ? ReadonlyArray> : T extends Record ? { [K in keyof T]?: DeepPartial; } : T; declare type AFFiNEModule = | import('@nestjs/common').Type | import('@nestjs/common').DynamicModule;