import type { PtyHandle } from './types.js'; /** * Turn boolean write rejection into an exception at the submit boundary. * * Several established CLI adapters intentionally ignore the optional boolean * returned by sendText/sendSpecialKeys because PTY/tmux historically either * wrote or threw. Snapshot transports can return false for an ambiguous, * non-retriable send. Wrapping only adapter submission keeps those failures on * worker's existing notification path without making best-effort navigation * and startup-control keystrokes throw from unrelated event callbacks. */ export declare function strictInputHandle(pty: T): T; //# sourceMappingURL=strict-input-handle.d.ts.map