@jupyterlite/terminal
Version:
A terminal for JupyterLite
20 lines (19 loc) • 600 B
TypeScript
import type { IShell } from '@jupyterlite/cockle';
import { BaseShell } from '@jupyterlite/cockle';
import type { Client as WebSocketClient } from 'mock-socket';
/**
* Shell class that uses web worker that plugs into a DriveFS via the service worker.
*/
export declare class Shell extends BaseShell {
/**
* Instantiate a new Shell
*
* @param options The instantiation options for a new shell
*/
constructor(options: IShell.IOptions);
/**
* Load the web worker.
*/
protected initWorker(options: IShell.IOptions): Worker;
socket?: WebSocketClient;
}