import Base from '../Base'; import STWProfile from '../structures/stw/STWProfile'; import STWNewsMessage from '../structures/stw/STWNewsMessage'; import type { STWWorldInfoData } from '../../resources/structs'; /** * Represents the client's STW manager */ declare class STWManager extends Base { /** * Fetches the Save The World profile for a players * @param user The id or display name of the user * @throws {UserNotFoundError} The user wasn't found * @throws {EpicgamesAPIError} */ getProfile(user: string): Promise; /** * Fetches the current Save The World news * @param language The language of the news * @throws {EpicgamesAPIError} */ getNews(language?: import("../../resources/structs").Language): Promise; /** * Fetches the current Save The World world info * @param language The language of the world info * @throws {EpicgamesAPIError} */ getWorldInfo(language?: import("../../resources/structs").Language): Promise; } export default STWManager;