import { type PrimaryKeyOptions, type SerializedPrimaryKeyOptions } from '@mikro-orm/core';
/** Marks a property as the primary key of an entity (legacy TypeScript decorator). */
export declare function PrimaryKey<T extends object>(
  options?: PrimaryKeyOptions<T>,
): (target: T, propertyName: string) => void;
/** Marks a property as the serialized form of the primary key, e.g. for MongoDB ObjectId (legacy TypeScript decorator). */
export declare function SerializedPrimaryKey<T extends object>(
  options?: SerializedPrimaryKeyOptions<T>,
): (target: T, propertyName: string) => void;
