import type { ApiClient } from '../../../ApiClient'; import type { User } from './User'; interface UserChatInfoGlobalBadgeData { id: string; version: string; } /** @private */ export interface UserChatInfoData { _id: string; login: string; display_name: string; color: string; is_verified_bot: boolean; is_known_bot: boolean; badges: UserChatInfoGlobalBadgeData[]; } /** * Information about a user's chat appearance and privileges. */ export declare class UserChatInfo { private readonly _data; private readonly _client; /** @private */ constructor(data: UserChatInfoData, client: ApiClient); /** * The ID of the user. */ get userId(): string; /** * Retrieves more information about the user. */ getUser(): Promise; /** * The name of the user. */ get userName(): string; /** * The display name of the user. */ get displayName(): string; /** * The color that the user appears in in chat. */ get color(): string; /** * Whether the user is a known bot. */ get isKnownBot(): boolean; /** * Whether the user is a verified bot. */ get isVerifiedBot(): boolean; /** * Whether the user is at least a known bot (i.e. known or verified). */ get isAtLeastKnownBot(): boolean; /** * Checks whether the user has access to a given global badge. * * @param id The ID of a badge. */ hasBadge(id: string): boolean; } export {};