/******************************************************************************** * Copyright (C) 2017 Ericsson and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available under the following Secondary * Licenses when the conditions for such availability set forth in the Eclipse * Public License v. 2.0 are satisfied: GNU General Public License, version 2 * with the GNU Classpath Exception which is available at * https://www.gnu.org/software/classpath/license.html. * * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 ********************************************************************************/ import { ILogger } from '@devpodio/core/lib/common'; import { Process, ProcessOptions } from './process'; import { ProcessManager } from './process-manager'; import { IPty } from '@theia/node-pty'; import { MultiRingBuffer, MultiRingBufferReadableStream } from './multi-ring-buffer'; export declare const TerminalProcessOptions: unique symbol; export interface TerminalProcessOptions extends ProcessOptions { } export declare const TerminalProcessFactory: unique symbol; export interface TerminalProcessFactory { (options: TerminalProcessOptions): TerminalProcess; } export declare class TerminalProcess extends Process { protected readonly ringBuffer: MultiRingBuffer; protected readonly terminal: IPty; constructor(options: TerminalProcessOptions, processManager: ProcessManager, ringBuffer: MultiRingBuffer, logger: ILogger); createOutputStream(): MultiRingBufferReadableStream; readonly pid: number; kill(signal?: string): void; resize(cols: number, rows: number): void; write(data: string): void; } //# sourceMappingURL=terminal-process.d.ts.map