/** Run `fn` inside the tool-call scope. @internal */ export declare function runInToolCallScope(fn: () => T): T; /** Whether the current async context is inside a tool call. @internal */ export declare function inToolCallScope(): boolean; /** Run `fn` outside the tool-call scope (used to resume a deferred close). @internal */ export declare function runOutsideToolCallScope(fn: () => T): T;