/// <reference types="node" />
import type { Player } from "../../../types";
import instance from "../../objects/instance.js";
/**
 * Runs the installer script without launching MC
 * @returns The instance's version object.
 * @see {@link getVersion} if you just want the instance's version
 */
export declare function install(this: instance): Promise<import("../../objects/version").default>;
/**
 * This function is used to launch the game. It also runs the install script for you.
 * This essentially does an integrity check.
 * @param token The player login token
 * @param resolution Optional information defining the game's resolution
 * @returns The process that was used to launch the game.
 */
export declare function launch(this: instance, token: Player, resolution?: {
    width: string;
    height: string;
}): Promise<import("child_process").ChildProcessWithoutNullStreams>;
