import { Client } from '../Client'; import { FetchedUser } from '../Types'; /** A Manager for Users */ export default class UserManager { /** The Client that the User Manager is for */ client: Client; /** The Cached Users */ users: FetchedUser[]; /** * A Manager for Users * @param client The Client that the User Manager is for */ constructor(client: Client); /** * Fetch a User with the specified UUID * @param uuid The UUID * @param force Set to `true` to skip cache check * @returns The User (or throws an error if failed) */ fetchUUID(uuid: string, force?: boolean): Promise; /** * Fetch a User with the specified Username * @param username The Username * @param force Set to `true` to skip cache check * @returns The User (or throws an error if failed) */ fetchUsername(username: string, force?: boolean): Promise; }