declare namespace Express { interface Request { session?: import('./core/auth/session').Session; token?: import('./core/auth/session').TokenSession; } } declare type Exact = { [K in keyof T]: T[K]; }; declare type Leaf = T & { __leaf: true }; declare type NonLeaf = T extends Leaf ? V : T; declare type DeeplyEraseLeaf = T extends Leaf ? V : { [K in keyof T]: DeeplyEraseLeaf } 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 DeepReadonly = { readonly [K in keyof T]: T[K] extends object ? DeepReadonly : T[K]; }; declare type AFFiNEModule = | import('@nestjs/common').Type | import('@nestjs/common').DynamicModule;