openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 661 B
TypeScript
import { type ConversationRef, type SessionBindingRecord, type SessionBindingService } from "./session-binding-service.js";
export type BoundDeliveryRouterInput = {
eventKind: "task_completion";
targetSessionKey: string;
requester?: ConversationRef;
failClosed: boolean;
};
export type BoundDeliveryRouterResult = {
binding: SessionBindingRecord | null;
mode: "bound" | "fallback";
reason: string;
};
export type BoundDeliveryRouter = {
resolveDestination: (input: BoundDeliveryRouterInput) => BoundDeliveryRouterResult;
};
export declare function createBoundDeliveryRouter(service?: SessionBindingService): BoundDeliveryRouter;