@skitee3000/bun-pty
Version:
Cross-platform pseudoterminal (PTY) implementation for Bun with native performance
17 lines • 661 B
TypeScript
/**
* The main export module for bun-pty.
* Provides a cross-platform PTY interface for Bun runtime.
*/
import { IPty, IPtyForkOptions, IExitEvent, IDisposable } from './interfaces';
/**
* Creates and spawns a new PTY with the given command and arguments.
*
* @param file - Path to the executable to run.
* @param args - Arguments for the executable.
* @param options - Options for the PTY.
* @returns A new PTY instance.
*/
export declare function spawn(file: string, args: string[], options: IPtyForkOptions): IPty;
export { IPty, IPtyForkOptions, IExitEvent, IDisposable };
export { Terminal } from './terminal';
//# sourceMappingURL=index.d.ts.map