import type { EntityManager } from "../../../entity-manager";
import type { CustomClass } from "../../../entity-manager/types/metadata-type";
import type { DatabaseEntity } from "../../../types/database-entity";
import type { FindConditions } from "../../types/find-conditions";
import type { BaseQueryOptions } from "../../types/query-options";
interface Injectables {
    entityManager: EntityManager;
    entity: CustomClass;
}
export interface BeforeRecoverInput<Entity> {
    where: FindConditions<Entity>;
    options?: BaseQueryOptions;
}
export interface BeforeRecoverOutput {
    where: FindConditions<DatabaseEntity>;
    options?: BaseQueryOptions;
}
export declare const beforeRecover: <Entity>({ entityManager, entity }: Injectables, { where: rawWhere, options: rawOptions }: BeforeRecoverInput<Entity>) => BeforeRecoverOutput;
export {};
