import type { EndpointConnectionSnapshot } from './registry.js'; import { EndpointRegistry } from './registry.js'; export interface EndpointSessionBinding { sessionKey: string; endpointId: string; boundAt: number; } export interface EndpointSessionBindingStore { get(sessionKey: string): EndpointSessionBinding | undefined; set(binding: EndpointSessionBinding): EndpointSessionBinding; delete(sessionKey: string): boolean; } export declare class EndpointBindingService { private readonly registry; private readonly store; constructor(registry: EndpointRegistry, store?: EndpointSessionBindingStore); bind(sessionKey: string, endpointId: string, now?: number): EndpointSessionBinding; get(sessionKey: string): EndpointSessionBinding | undefined; resolve(sessionKey: string): EndpointConnectionSnapshot | undefined; unbind(sessionKey: string): boolean; private normalizeSessionKey; }