import { SoftDeletableConfig } from "./common.js"; type Type = abstract new (...args: any[]) => Entity; type EntityDecorator = (type: Type) => void; export interface InferableSoftDeletableConfig extends SoftDeletableConfig { type: () => Type; } /** * Mark an entity type as soft-deletable. * @see SoftDeletionEventSubscriber */ export declare function SoftDeletable(config: InferableSoftDeletableConfig): EntityDecorator; /** * Mark an entity type as soft-deletable. * @param type - Helper function for type inference. * @param field - Identifier field used to identify deleted entities. * @param value - Value to set to the identifier field in deletions. * @param valueInitial - Value to identify entities that is NOT soft-deleted. Defaults to `null`. * @see SoftDeletionEventSubscriber */ export declare function SoftDeletable(type: () => Type, field: Field, value: () => Entity[Field], valueInitial?: Entity[Field]): EntityDecorator; export {}; //# sourceMappingURL=decorator.d.ts.map