import type { HomeServerApi } from "./net/HomeServerApi"; import type { ILogItem } from "../logging/types"; export declare function loadProfiles(userIds: string[], hsApi: HomeServerApi, log: ILogItem): Promise; export interface IProfile { get userId(): string; get displayName(): string | undefined; get avatarUrl(): string | undefined; get name(): string; } export declare class Profile implements IProfile { readonly userId: string; readonly displayName: string; readonly avatarUrl: string | undefined; constructor(userId: string, displayName: string, avatarUrl: string | undefined); get name(): string; } export declare class UserIdProfile implements IProfile { readonly userId: string; constructor(userId: string); get displayName(): undefined; get name(): string; get avatarUrl(): undefined; }