/**
 * IEntityResolver - Resolves entities by type and ID
 *
 * Used by FilterTemplate to resolve dot-notation references like 'resource.teamId'
 * where the value needs to be looked up from a related entity.
 */
export interface IEntityResolver {
  /**
   * Resolve an entity by type and ID
   * @param entityType - The entity type (e.g., 'resource', 'booking', 'customer')
   * @param id - The entity ID
   * @returns The entity record or undefined if not found
   */
  resolve(entityType: string, id: string): Record<string, unknown> | undefined;
}
