import { EntityDTO, Loaded } from "@medusajs/deps/mikro-orm/core"; declare const STATIC_OPTIONS_SHAPE: { populate: string[] | boolean; exclude: string[] | undefined; preventCircularRef: boolean; skipNull: boolean | undefined; ignoreSerializers: boolean | undefined; forceObject: boolean; }; declare class RequestScopedSerializationContext { readonly propertyNameCache: Map; readonly visitedEntities: WeakSet; readonly keyCollectionBuffer: string[]; keyBufferIndex: number; constructor(); resetKeyBuffer(): void; addKey(key: string): void; getKeys(): string[]; } export declare class EntitySerializer { static serialize(entity: T, options?: Partial, parents?: readonly string[], requestCtx?: RequestScopedSerializationContext): EntityDTO>; private static propertyName; private static processProperty; private static extractChildPopulate; private static createChildOptions; private static processEntity; private static processCollection; } export declare const mikroOrmSerializer: (data: any, options?: Partial[1] & { preventCircularRef: boolean | undefined; populate: string[] | boolean | undefined; }>) => TOutput; export {}; //# sourceMappingURL=mikro-orm-serializer.d.ts.map