/**
 * PTY Terminal Session Service
 *
 * `node-pty`-backed implementation of `ITerminalSessionService`. Spawns a
 * real pseudo-terminal so interactive tools (vim, top, git, pnpm, etc.)
 * work exactly as they would in a native terminal. Cross-platform via
 * ConPTY on Windows and forkpty on Unix.
 */
import type { CreatedTerminalSession, CreateTerminalSessionInput, ITerminalSessionService, TerminalExitListener, TerminalOutputListener } from '../../../application/ports/output/services/terminal-session-service.interface.js';
export declare class PtyTerminalSessionService implements ITerminalSessionService {
    private readonly sessions;
    private ptyModule;
    private loadPty;
    private resolveShell;
    create(input: CreateTerminalSessionInput): CreatedTerminalSession;
    write(sessionId: string, data: string): void;
    resize(sessionId: string, cols: number, rows: number): void;
    subscribe(sessionId: string, onData: TerminalOutputListener, onExit?: TerminalExitListener): () => void;
    exists(sessionId: string): boolean;
    close(sessionId: string): void;
}
//# sourceMappingURL=pty-terminal-session.service.d.ts.map