export declare class PtyManager {
    private onData;
    private onExit;
    private ptyProcess;
    constructor(onData: (data: string) => void, onExit: (code: number) => void);
    private resolveCommand;
    spawn(command: string, args: string[], cols: number, rows: number): void;
    write(data: string): void;
    resize(cols: number, rows: number): void;
    kill(): void;
    get pid(): number | undefined;
}
