/// import Readline from "readline"; import { type FileStore } from "../../file-store/index.js"; import { Repl, ReplEventHandler } from "../../repl/index.js"; export declare class ReadlineRepl extends Repl { dir: string; handler: ReplEventHandler; files: FileStore; readline: Readline.Interface; commitOnDoubleNewline: boolean; constructor(opts: { dir: string; handler: ReplEventHandler; files: FileStore; readline: Readline.Interface; commitOnDoubleNewline: boolean; }); static create(opts: { dir: string; handler: ReplEventHandler; files: FileStore; commitOnDoubleNewline?: boolean; }): Promise; prompt(): void; private createPrompt; run(): Promise; private lines; private lock; private handleLine; private listenHistory; private listenSigint; private processLines; private nextTextOrReportError; } //# sourceMappingURL=ReadlineRepl.d.ts.map