/** * The engine is expecting lineinput. Show the prompt and trigger custom hooks. */ export function expectInput(): void; /** * Getter for the lineinput form element. * * @returns {Element} */ export function get(): Element; /** * Hide the prompt and stop expecting line input. */ export function hide(): void; export function sendCommand(e: any, command: any): Promise; /** * Initialize line input event handlers. */ export function init(opt: any): void; /** * Returns true if the command prompt is ready for line input. */ export function isReady(): boolean; /** * Either scroll the page down one page, or if the prompt is visible, * set focus to the prompt. * * @param e */ export function scrollOrFocus(e: any): false | undefined; /** * Set the "doScroll" status which tells whether a keypress scrolls the page. */ export function setDoScroll(status: any): void; /** * Sets the function that sends the input to the engine */ export function setEngineInputFunction(func: any): void; /** * Show the prompt and start expecting line input. */ export function show(): void; export namespace history { function add(cmd: any): boolean; function clear(): void; function get(): any[]; function remove(index: number): boolean; function set(newHistory: any[]): void; } export namespace prefix { export function get_1(): string; export { get_1 as get }; export function set_1(prefix: string): void; export { set_1 as set }; }