import type { HttpSessionContext } from '../types/index.js';
export type { HttpSessionContext };
/**
 * Run a callback within a session context.
 * All code executed inside (including async) can read the session via getSessionContext().
 */
export declare function runWithSessionContext<T>(ctx: HttpSessionContext, fn: () => T): T;
/**
 * Get the current session context (if running inside runWithSessionContext).
 * Returns undefined for stdio transport or outside session scope.
 */
export declare function getSessionContext(): HttpSessionContext | undefined;
//# sourceMappingURL=session-context.d.ts.map