import type { SessionAuthContext } from "#channel/types.js"; /** * Runs `fn` with `caller` as the session's current caller. Writes still reach * the outer context; only reads of the caller change, so work running beside * `fn` in the same step keeps the outer caller. */ export declare function runAsCaller(caller: SessionAuthContext, fn: () => T): T;