import { Entity, EntityType } from '@dcl/schemas'; import { ProfileEntity } from './types'; export declare class EntitiesOperator { private readonly catalystClient; private readonly catalystClientWithoutGbCollector; private readonly peerAPI; constructor(peerUrl: string, peerWithNoGbCollectorUrl?: string); /** * Uses the provider to request the user for a signature to * deploy an entity. * * @param address - The address of the deployer of the entity. * @param entityId - The entity id that it's going to be deployed. */ private authenticateEntityDeployment; /** * 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; /** * 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, address: string): Promise; }