import { DataContextBase, DataModelBase } from '@themost/common';
import { EntityConstructor } from './Entity';
declare function PrePersist(): MethodDecorator;
declare interface PrePersistEvent {
    context?: DataContextBase;
    entityClass?: EntityConstructor<unknown>;
    model?: DataModelBase;
    target?: unknown;
}
export { PrePersistEvent, PrePersist };
