import { IFortniteClientCredentials } from './interfaces/fortnite-client-credentials.interface'; import { IFortniteClientOptions } from './interfaces/fortnite-client-options.interface'; import { IBuildInformation } from './interfaces/fortnite-types/build-information.interface'; /** * Covers endpoints accessible from within the Epic Games launcher */ export declare class LauncherClient { private apiRequest; private credentials; private readonly clientId; private readonly redirectUri; private cookie; /** * Creates a new LauncherClient instance. * @param credentials The account's credentials which shall be used for the REST requests. * @param options Library specific options (such as a response timeout until it throws an exception). */ constructor(credentials: IFortniteClientCredentials, options: IFortniteClientOptions); buildInformation(): Promise; login(): Promise; private fetchRedirectCookies; private fetchLoginForm; private doLauncherLogin; private fetchExchangeCode; private getOauthToken; /** * Updates the default auth header for client requests and sets the property * @param token The new client access token */ private updateClientAccessToken; }