import type { RpcCommand, RpcResponse } from "./rpc-types.ts";
import type { RouterContext } from "./session-router-context.ts";
/**
 * Every routed command runs inside its session's attribution scope, so a stall the
 * loop-lag watchdog observes right after this dispatch can name the session that
 * caused it - and anything the command starts inherits the attribution.
 */
export declare function handle(host: RouterContext, command: RpcCommand): Promise<RpcResponse | undefined>;
export declare function dispatch(host: RouterContext, command: Exclude<RpcCommand, {
    type: "warm" | "park_session";
}>): Promise<RpcResponse | undefined>;
/** Any attached connection may patch; a host with no per-connection identity (stdio) owns every session. */
export declare function setSessionContext(host: RouterContext, command: Extract<RpcCommand, {
    type: "set_session_context";
}>): RpcResponse;
//# sourceMappingURL=session-router-routing.d.ts.map