/** Cancellation primitives shared by tool execution paths. */ /** Appended when an aborted tool could not confirm cancellation. */ export declare const ABANDONED_TOOL_SUFFIX = " The tool execution could not be confirmed cancelled and may still be running."; /** * Release a caller from a signal-deaf tool after one macrotask of grace. * * The grace lets an abort-aware inner operation reject with its more specific * error first. If the work still has not settled, its eventual result is * consumed and discarded so it cannot mutate the terminal conversation or * surface as an unhandled rejection. * * Behavior adapted from Flue v2.0.2 `packages/runtime/src/abort.ts` * (Apache-2.0), pinned in THIRD_PARTY_UPSTREAM.md. */ export declare function abandonToolOnAbort(run: () => Promise, signal: AbortSignal | undefined): Promise; //# sourceMappingURL=abort.d.ts.map