import { implFetchUser, type User } from '../../../implementation/index.js'; import type Client from '../../../index.js'; import { type LeaderboardUserSchema } from './leaderboardUser.schema.js'; /** * A user in the leaderboard. * The data here is limited compared to a profile user. */ export declare class LeaderboardUser implements User { /** * @param client The main client. * @param data The raw leaderboard user data from the FakeYou API. */ constructor(client: Client, data: LeaderboardUserSchema); readonly client: Client; /** * The URL to the user's profile in the browser. */ readonly webUrl: string; readonly creatorUserToken: string; readonly username: string; readonly displayName: string; readonly gravatarHash: string; readonly defaultAvatarIndex: number; readonly defaultAvatarColorIndex: number; readonly uploadedCount: number; /** * Fetch the full user profile for this user, which includes more data than the leaderboard user. */ fetchProfile: typeof implFetchUser; }