import { SupervisorCancelledError } from "../errors/supervisor-cancelled-error.mjs"; //#region ../ai/src/supervisor/cancellation.d.ts /** * Build a `SupervisorCancelledError` from an `AbortSignal`. Extracts a * human-readable reason from `signal.reason` whether it was a string, * an `Error`, or some other value. Used at between-iteration boundaries * and on any mid-iteration cancellation path. */ declare function createCancelledError(signal: AbortSignal | undefined): SupervisorCancelledError; //#endregion export { createCancelledError }; //# sourceMappingURL=cancellation.d.mts.map