import { IsolationBoundaryError } from './installations/shims.js';
/**
 * Turn an {@link IsolationBoundaryError} into guidance. The boundary is enforced by a
 * throw so it cannot be forgotten; this is what keeps that from surfacing as a stack
 * trace. The remedy is always the same shape, because the protection is derived from
 * the isolated copies themselves: drop them and the agent is ordinary again.
 */
export declare function explainIsolationBoundary(err: IsolationBoundaryError): void;
/** Run `fn`, converting a boundary refusal into guidance + a non-zero exit. */
export declare function withIsolationBoundary<T>(fn: () => Promise<T> | T): Promise<T | undefined>;
