UNPKG

@launchmenu/launcher

Version:
29 lines 921 B
import { BrowserWindow } from "electron"; import { IState } from "../_types/IState"; export declare class InstallerWindow { protected window: BrowserWindow; /** * Creates a new installer window, which can be used to visualize the current installation step. */ constructor(); /** * Initializes the window */ init(): Promise<void>; /** * Retrieves the initial applets to be installed, by asking the user for it * @returns The selected applets to install */ getInitialApplets(): Promise<string[]>; /** * Sets the state to be displayed in the window * @param state The state to be displayed * @returns The selected value if a prompt state was specified */ setState<T>(state: IState<T>): Promise<T>; /** * Closes the window */ close(): void; } //# sourceMappingURL=InstallerWindow.d.ts.map