/** * Append content to a window. * * @param content * @param targetWindow */ export function append(content: any, targetWindow: any): void; /** * Clears an output window. * * @param targetWindow */ export function clear(targetWindow: any): void; /** * Create a new window (Hugo only). * * @param outputWindow * @param left * @param top * @param right * @param bottom */ export function create(outputWindow: any, left: any, top: any, right: any, bottom: any): false | undefined; /** * Returns the output window element. * * @param targetWindow * @returns {*} */ export function get(targetWindow: any): any; /** * Get all data required to later reconstruct the UI state. */ export function getUIState(): { cmdHistory: any[]; currentColors: { text: number; background: number; }[]; font: { bold: boolean; italic: boolean; underline: boolean; proportional: boolean; original: number; }[]; position: any[]; title: string; windowDimensions: any[]; windowContents: any[]; }; /** * Save references to HTML elements. */ export function init(): void; /** * When the window size changes, measure the window width in characters (Hugo only) */ export function measureDimensions(): { window: { width: number; height: number; }; line: {}; char: {}; }; /** * Creates a container for a single turn's content and appends it to the window * and sets the classes of previous containers to match the new situation. */ export function newTurnContainer(targetWindow: any): HTMLDivElement; /** * Set the window title * * @param title */ export function setTitle(title: any): void; export namespace container { function append(container: any, target: any): void; function get(targetWindow: any): any; function set(newContainer: any, targetWindow: any): void; } export namespace position { export function reset(targetWindow: any): void; export function restore(oldState: any): void; export function set_1(col: any, line: any, havenWindow: any): void; export { set_1 as set }; }