/** * Browser stub for {@link readlineApprovalPrompt}. The Node version * imports `readline` to drive an interactive stdin prompt; in the * browser the import is a hard error at bundle time. This stub * always deterministic-denies — there is no meaningful "default * approval flow" in a browser bundle; the consumer MUST register an * explicit `ApprovalHandler` via * `client.tools.setApprovalHandler(...)`. * * Wired via `package.json#browser` (per the existing pattern * established by `transport.browser.ts` / * `resolveOTel.browser.ts`); module-resolution swap is automatic at * bundle time. */ import type { ApprovalDecision } from './approval.js'; export declare function readlineApprovalPrompt(toolName: string, _prompt: string): Promise; //# sourceMappingURL=_readlineApprovalPrompt.browser.d.ts.map