9 lines
460 B
TypeScript
9 lines
460 B
TypeScript
import { AvatarSize, type User } from "../models/index.js";
|
|
export type ProfileInfo = User;
|
|
export type UserInfoResponse = {
|
|
unchanged_profiles: Record<string, unknown>;
|
|
phonebook_version: number;
|
|
changed_profiles: Record<string, ProfileInfo>;
|
|
};
|
|
export declare const getUserInfoFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (userId: string | string[], avatarSize?: AvatarSize) => Promise<UserInfoResponse>;
|