/** * Set currently active font styles and colors to an element. * * @param elem * @param targetWindow */ export function apply(elem: any, targetWindow: any): void; export function init(options: any): void; /** * Restore the entire style state. * * @param oldState */ export function restore(oldState: any): void; /** * Set a current style attribute. * * @param {string} type bold, italic, underline, or proportional * @param {boolean} value * @param {number} targetWindow */ export function set(type: string, value: boolean, targetWindow: number): void; export function setGlulxStyle(style: any): void; /** * Changes the appearance of a default style. * * @param style * @param hint * @param value */ export function setGlulxStyleHint(style: any, hint: any, value: any): void; export namespace color { function get(): { text: number; background: number; }[]; function restore(oldState: any): void; function set(which: any, color: any, targetWindow: any): void; } export namespace font { export function get_1(): { bold: boolean; italic: boolean; underline: boolean; proportional: boolean; original: number; }[]; export { get_1 as get }; }