import type { ContextAccessor } from "#context/key.js"; import type { ChannelAdapter, ChannelAdapterContext } from "#channel/adapter.js"; /** * Builds the {@link ChannelAdapterContext} the runtime hands to an * adapter's `deliver` hook, event handlers, and attachment resolver. * * Populates `session` with a live {@link SessionHandle} backed by the * supplied accessor so handlers can read identity / auth and call * `setContinuationToken(...)` to re-key the parked session. */ export declare function buildAdapterContext = ChannelAdapterContext>(adapter: ChannelAdapter, accessor: ContextAccessor): TCtx;