/** * Minimal shell (Option A): TypeScript REPL that dispatches to the tool runner. * Supports history, tab completion, and filesystem builtins. */ import type { IOProvider } from 'emception'; import type { ToolRunner } from './tool-runner.js'; import type { VFSManager } from './vfs/index.js'; export declare class MiniShell { private runner; private tty; private vfs; private cwd; private env; private history; private historyIndex; private readonly MAX_HISTORY; constructor(runner: ToolRunner, tty: IOProvider, vfs?: VFSManager); start(): Promise; private execute; private resolvePath; private normalizePath; private builtinCd; private builtinLs; private builtinCat; private builtinMkdir; private builtinRm; private builtinTouch; /** * write — write text content to a file. */ private builtinWrite; /** * curl/wget builtin — fetch a URL using the browser fetch API. * Supports: curl [-o file] [-s] URL */ private builtinCurl; private addHistory; private readLine; private clearLine; private tabComplete; private parseCommand; } //# sourceMappingURL=shell.d.ts.map