UNPKG

burst-whale-watch

Version:

An account watcher for Burstcoin

28 lines (27 loc) 771 B
import { View } from "./view"; import { Store } from "../../typings/stappo/store"; import { Config } from "../config"; export interface ExitEvent { readonly reason: string; readonly detail: string; } export declare class Scene { private store; private config; private autoCloseInterval; private views; private onExitFn; private readonly screen; private quitDialog; constructor(store: Store, config: Config); private printState; private scrollRight; private scrollLeft; showQuitDialog(): void; addView(name: string, view: View): void; view(name: any): View; render(state: any): void; destroy(): void; onExit(callback: (exitEvent: ExitEvent) => void): void; __handleException(e: any): void; }