/** * REPL * * Documented in logs/repl/README.md * https://github.com/smogon/pokemon-showdown/blob/master/logs/repl/README.md * * @author kota * @license MIT */ export declare const Repl: { /** * Contains the pathnames of all active REPL sockets. */ socketPathnames: Set; listenersSetup: boolean; setupListeners(filename: string): void; /** * Starts a REPL server, using a UNIX socket for IPC. The eval function * parametre is passed in because there is no other way to access a file's * non-global context. */ start(filename: string, evalFunction: (input: string) => any): void; };