import { IUser as IRawUser } from 'rettiwt-core'; /** * The details of a single user. * * @public */ export declare class User { /** The creation date of user's account. */ createdAt: string; /** The user's description. */ description?: string; /** The number of followers of the user. */ followersCount: number; /** The number of following of the user. */ followingsCount: number; /** The full name of the user. */ fullName: string; /** The rest id of the user. */ id: string; /** Whether the account is verified or not. */ isVerified: boolean; /** The number of tweets liked by the user. */ likeCount: number; /** The location of user as provided by user. */ location?: string; /** The rest id of the tweet pinned in the user's profile. */ pinnedTweet?: string; /** The url of the profile banner image. */ profileBanner?: string; /** The url of the profile image. */ profileImage: string; /** The number of tweets made by the user. */ statusesCount: number; /** The username/screenname of the user. */ userName: string; /** * @param user - The raw user details. */ constructor(user: IRawUser); /** * Extracts and deserializes the list of users from the given raw response data. * * @param response - The raw response data. * * @returns The deserialized list of users. * * @internal */ static list(response: NonNullable): User[]; /** * Extracts and deserializes a single target user from the given raw response data. * * @param response - The raw response data. * * @returns The target deserialized user. * * @internal */ static single(response: NonNullable): User | undefined; }