vibetunnel/web/package/node-pty/lib/unixTerminal.d.ts
Peter Steinberger 84b7467e83 fix: handle authenticate-pam as optional dependency in npm package
- Modified postinstall script to extract authenticate-pam prebuilds when npm skips optional deps
- Updated authenticate-pam-loader to load from optional-modules directory
- Prepared beta.12 release with all fixes consolidated
- Moved Docker test script to scripts folder
- Updated documentation in npm.md
2025-07-17 09:32:42 +02:00

43 lines
1.2 KiB
TypeScript

/**
* Copyright (c) 2012-2015, Christopher Jeffrey (MIT License)
* Copyright (c) 2016, Daniel Imms (MIT License).
* Copyright (c) 2018, Microsoft Corporation (MIT License).
*/
import * as net from 'net';
import { Terminal } from './terminal';
import { IPtyForkOptions, IPtyOpenOptions } from './interfaces';
import { ArgvOrCommandLine } from './types';
export declare class UnixTerminal extends Terminal {
protected _fd: number;
protected _pty: string;
protected _file: string;
protected _name: string;
protected _readable: boolean;
protected _writable: boolean;
private _boundClose;
private _emittedClose;
private _master;
private _slave;
get master(): net.Socket | undefined;
get slave(): net.Socket | undefined;
constructor(file?: string, args?: ArgvOrCommandLine, opt?: IPtyForkOptions);
protected _write(data: string): void;
get fd(): number;
get ptsName(): string;
/**
* openpty
*/
static open(opt: IPtyOpenOptions): UnixTerminal;
destroy(): void;
kill(signal?: string): void;
/**
* Gets the name of the process.
*/
get process(): string;
/**
* TTY
*/
resize(cols: number, rows: number): void;
clear(): void;
private _sanitizeEnv;
}