/** Called before a new entity is persisted to the database (TC39 decorator). */
export declare function BeforeCreate(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/** Called after a new entity has been persisted to the database (TC39 decorator). */
export declare function AfterCreate(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/** Called before an existing entity is updated in the database (TC39 decorator). */
export declare function BeforeUpdate(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/** Called after an existing entity has been updated in the database (TC39 decorator). */
export declare function AfterUpdate(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/** Called before an entity is upserted (TC39 decorator). */
export declare function BeforeUpsert(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/** Called after an entity has been upserted (TC39 decorator). */
export declare function AfterUpsert(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/** Called when an entity is instantiated by the EntityManager (TC39 decorator). */
export declare function OnInit(): (value: (...args: any[]) => unknown, context: ClassMethodDecoratorContext) => void;
/** Called after an entity is loaded from the database (TC39 decorator). */
export declare function OnLoad(): (value: (...args: any[]) => unknown, context: ClassMethodDecoratorContext) => void;
/**
 * Called before deleting entity, but only when providing initialized entity to EM#remove()
 */
export declare function BeforeDelete(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
/**
 * Called after deleting entity, but only when providing initialized entity to EM#remove()
 */
export declare function AfterDelete(): (
  value: (...args: any[]) => unknown,
  context: ClassMethodDecoratorContext,
) => void;
