vibetunnel/web/package/node-pty/lib/index.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

15 lines
613 B
TypeScript

/**
* Minimal PTY implementation without threading
* Vendored from node-pty, simplified to remove shared pipe architecture
*/
import { ITerminal, IPtyForkOptions, IWindowsPtyForkOptions } from './interfaces';
import { ArgvOrCommandLine } from './types';
/**
* Forks a process as a pseudoterminal.
*/
export declare function spawn(file?: string, args?: ArgvOrCommandLine, opt?: IPtyForkOptions | IWindowsPtyForkOptions): ITerminal;
export declare const fork: typeof spawn;
export declare const createTerminal: typeof spawn;
export * from './interfaces';
export * from './types';
export type IPty = ITerminal;