/** * Home page ts/js * * @module */ declare function main(): void; declare function on_input_key(evt: KeyboardEvent, ielt: HTMLInputElement, oelt: HTMLTextAreaElement, cb_resize: HTMLInputElement, cb_scroll: HTMLInputElement, max_height: number): Promise; declare function auto_resize_output(checkbox_element: HTMLInputElement, target_element: HTMLTextAreaElement, max_height: number): void; declare function auto_scroll_to_bottom(checkbox_element: HTMLInputElement, target_element: HTMLTextAreaElement): void; type ok_err = { ok: true; result: t; } | { ok: false; error: string; }; type wfcin = { wfcin: string; }; type wfcout = ok_err; declare function assert(condition: boolean, fail_msg: string): void; declare function fetch_wfcin(user_line: string): Promise;