import type { Bash, NetworkConfig } from "just-bash"; export type { NetworkConfig } from "just-bash"; export interface ShellOptions { files?: Record; env?: Record; cwd?: string; greeting?: string | string[]; prompt?: (cwd: string) => string; network?: NetworkConfig; } export declare class BashShell { private _bash; private _write; private _cwd; private _line; private _cursor; private _buffer; private _history; private _historyPos; private _historyDraft; private _historySearch; private _killBuffer; private _lastActionWasKill; private _inputRevision; private _busy; private _execAbort; private _files; private _env; private _greeting; private _prompt; private _network?; constructor(options?: ShellOptions); get cwd(): string; get bash(): Bash | null; private _updateCwd; attach(write: (data: string) => void): Promise; handleInput(data: string): Promise; private _moveCells; private _insertText; private _eraseBeforeCursor; private _recordKill; private _showLine; private _findHistoryMatch; private _historySearchBoundary; private _moveHistorySearch; private _startHistorySearch; private _renderHistorySearch; private _acceptHistorySearch; private _cancelHistorySearch; private _handleHistorySearchInput; private _moveWord; private _wordBoundary; private _insertCompletion; private _tabComplete; } //# sourceMappingURL=index.d.ts.map