import { IApiBaseEntity } from '../interface/api-base-entity.interface';
import { Type } from '@nestjs/common';
import { TApiPropertyEntity } from '../type/decorator/api/property/entity.type';
/**
 * Executes the provided callback once the entity reference resolves.
 * If the entity cannot be resolved immediately, the callback runs in a microtask after modules finish loading.
 * @param {TApiPropertyEntity} entity - Entity reference or resolver.
 * @param {string} decoratorName - Decorator name for error context.
 * @param {(resolved: IApiBaseEntity | Type<IApiBaseEntity>) => void} onResolved - Callback executed with the resolved entity.
 */
export declare function WithResolvedPropertyEntity(entity: TApiPropertyEntity, decoratorName: string, onResolved: (resolved: IApiBaseEntity | Type<IApiBaseEntity>) => void): void;
