import { AuthIdentity } from '@dcl/crypto'; import { Entity, EntityType } from '@dcl/schemas/dist/platform/entity'; import { ProfileEntity } from './types'; export declare class EntitiesOperator { private peerUrl; private peerWithNoGbCollectorUrl?; private catalystContentClient; private catalystContentClientWithoutGbCollector; private readonly peerAPI; constructor(peerUrl: string, peerWithNoGbCollectorUrl?: string | undefined); /** * Gets the first {@link ProfileEntity} out of multiple possible profile entities or * returns the last one in case the given address has no profile entities. * * @param address - The address that owns the profile entity being retrieved. */ getProfileEntity(address: string): Promise; deployEntityWithoutFiles(entityType: EntityType, entityMetadata: Entity['metadata'], pointer: string, identity: AuthIdentity): Promise; /** * Deploys an entity of a determined type. * This method will build everything related to the deployment of * the entity and will prompt the user for their signature before * doing a deployment. * * @param entity - The title of the book. * @param entityType - The type of the entity. * @param address - The owner / soon to be owner of the entity. */ deployEntityWithoutNewFiles(entityMetadata: Entity['metadata'], hashesByKey: Map, entityType: EntityType, pointer: string, identity: AuthIdentity): Promise; }