import type { AgentSessionHandle } from "../../session/agent-session-handle.js"; import type { ThreadService } from "../services.js"; import { type SessionToken } from "../session-directory.js"; /** Wire kind of session tokens. */ export declare const AGENT_SESSION_CODEC = "agent-session"; /** Wire kind of registry refs. */ export declare const AGENT_REF_CODEC = "agent-ref"; /** Token of a bridged session. */ export declare function sessionToken(session: AgentSessionHandle): SessionToken; /** This thread's canonical handle for `token`; see the module doc. */ export declare function resolveSessionToken(token: SessionToken): AgentSessionHandle; /** Session and ref identity codecs; installed first so every other service's payloads can embed them. */ export declare const identityThreadService: ThreadService;