/**
 * Channel identity resolution for multi-tenant gateway.
 *
 * Resolves channel senders (e.g. telegram:123456, discord:user:789) to
 * hub user IDs via the channel identity map. This bridges the gap between
 * channel-specific sender IDs and the multi-tenant user model.
 *
 * Channel adapters call resolveChannelSenderIdentity before dispatching
 * messages to agents, so downstream processing knows who the user is.
 */
import type { UserContext } from "../agents/system-prompt/user-context.js";
/**
 * Attempt to resolve a channel sender to a hub user identity.
 *
 * Returns a UserContext if the sender maps to a known hub user,
 * or null if the sender is unmapped (treated as unauthenticated guest).
 *
 * @param channel - Channel type (e.g. "telegram", "discord", "slack")
 * @param channelUserId - Channel-specific sender ID
 */
export declare function resolveChannelSenderIdentity(channel: string, channelUserId: string): UserContext | null;
