import type { BrokerEndpointEntry, EndpointRegistry } from "./endpoint-registry.js"; export interface InboundMessageMeta { target_endpoint_id?: string; correlation_id?: string; source_endpoint_id?: string; } export type RouteResult = { kind: "endpoint"; entry: BrokerEndpointEntry; via: "target_endpoint_id" | "correlation_id"; } | { kind: "no_match"; }; export interface RoutingTableOptions { onCollision?: (correlation_id: string, count: number) => void; } export declare class RoutingTable { private readonly registry; private readonly opts; constructor(registry: EndpointRegistry, opts?: RoutingTableOptions); route(meta: InboundMessageMeta): RouteResult; } //# sourceMappingURL=routing-table.d.ts.map