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