import { LambdasClient } from 'dcl-catalyst-client/dist/client/LambdasClient'; import { Profile } from '../modules/profile/types'; import { BaseAPI } from './api'; import { FetchProfileOptions, ProfileEntity } from './types'; export declare class PeerAPI extends BaseAPI { cache: Record>; lambdasClient: LambdasClient; constructor(url: string); /** * Fetches a profile only once by caching the promise * to prevent concurrent flying requests * * @param address - The address of the profile to retrieve. */ fetchProfile(address: string, options?: FetchProfileOptions): Promise; fetchProfiles(addresses: string[]): Promise; /** * Gets the default entity structure for a profile. */ getDefaultProfileEntity(): Promise; }