import type { SessionEvent } from '@deepseek-ai/dsh-session'; import type { ChannelSession } from '../domain.js'; /** A binding is not an origin. Unknown/browser messages always stay in DSH. */ export declare function questionOrigin(sessionId: string, events: readonly SessionEvent[], routes: readonly ChannelSession[]): ChannelSession | undefined; /** Resolve shared-session writes from the message author, never route ordering. */ export declare function conversationOrigin(sessionId: string, events: readonly SessionEvent[], routes: readonly ChannelSession[]): ChannelSession | undefined; /** A browser can open a partner-linked session without creating a second transcript. */ export declare function localConversationRoute(sessionId: string, routes: readonly ChannelSession[]): ChannelSession | undefined; export declare function attachedWebRoute(sessionId: string, routes: readonly ChannelSession[]): ChannelSession | undefined; export declare function webMessageRoute(sessionId: string, events: readonly SessionEvent[], routes: readonly ChannelSession[], messageId: string): ChannelSession | undefined; //# sourceMappingURL=question-origin.d.ts.map