import { type IndexOptions, type UniqueOptions, type Constructor } from '@mikro-orm/core';
/** Defines a database index on a property or entity class (TC39 decorator). */
export declare function Index<T extends object, H extends string>(
  options?: IndexOptions<T, H>,
): (value: unknown, context: ClassDecoratorContext<T & Constructor> | ClassFieldDecoratorContext<T>) => any;
/** Defines a unique constraint on a property or entity class (TC39 decorator). */
export declare function Unique<T extends object, H extends string>(
  options?: UniqueOptions<T, H>,
): (value: unknown, context: ClassDecoratorContext<T & Constructor> | ClassFieldDecoratorContext<T>) => any;
